13 lines
646 B
C
13 lines
646 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <v8.h>
|
||
|
|
|
||
|
|
void bind_websocket_bridge(v8::Isolate* isolate, const v8::Global<v8::Context>& context);
|
||
|
|
|
||
|
|
void v8_runt_websocket_server_create(const v8::FunctionCallbackInfo<v8::Value>& args);
|
||
|
|
void v8_runt_websocket_server_start(const v8::FunctionCallbackInfo<v8::Value>& args);
|
||
|
|
void v8_runt_websocket_server_stop(const v8::FunctionCallbackInfo<v8::Value>& args);
|
||
|
|
void v8_runt_websocket_server_tick(const v8::FunctionCallbackInfo<v8::Value>& args);
|
||
|
|
void v8_runt_websocket_server_send_all(const v8::FunctionCallbackInfo<v8::Value>& args);
|
||
|
|
void v8_runt_websocket_server_send_client(const v8::FunctionCallbackInfo<v8::Value>& args);
|