Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F5390290
websocket.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
617 B
Referenced Files
None
Subscribers
None
websocket.h
View Options
#ifndef MODULES_WEBSOCKET_H
#define MODULES_WEBSOCKET_H
#include
<stddef.h>
#include
<stdint.h>
#include
"types.h"
#include
"gc/modules.h"
#include
"net/connection.h"
void
init_websocket_module
(
void
);
void
gc_mark_websocket
(
ant_t
*
js
,
gc_mark_fn
mark
);
ant_value_t
ant_websocket_accept_server
(
ant_t
*
js
,
ant_conn_t
*
conn
,
ant_value_t
request_obj
,
const
char
*
protocol
);
void
ant_websocket_server_open
(
ant_t
*
js
,
ant_value_t
socket_obj
);
void
ant_websocket_server_on_close
(
ant_t
*
js
,
ant_value_t
socket_obj
);
void
ant_websocket_server_on_read
(
ant_t
*
js
,
ant_value_t
socket_obj
,
ant_conn_t
*
conn
);
#endif
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sun, May 17, 2:27 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
554672
Default Alt Text
websocket.h (617 B)
Attached To
Mode
rANT Ant
Attached
Detach File
Event Timeline
Log In to Comment