#pragma once #include void bind_socket_bridge(v8::Isolate* isolate, const v8::Global& context); void v8_runt_socket_create(const v8::FunctionCallbackInfo& args); void v8_runt_socket_bind(const v8::FunctionCallbackInfo& args); void v8_runt_socket_listen(const v8::FunctionCallbackInfo& args); void v8_runt_socket_accept(const v8::FunctionCallbackInfo& args); void v8_runt_socket_connect(const v8::FunctionCallbackInfo& args); void v8_runt_socket_send(const v8::FunctionCallbackInfo& args); void v8_runt_socket_recv(const v8::FunctionCallbackInfo& args); void v8_runt_socket_close(const v8::FunctionCallbackInfo& args); void v8_runt_socket_set_blocking(const v8::FunctionCallbackInfo& args); void v8_runt_socket_select(const v8::FunctionCallbackInfo& args); void v8_runt_socket_is_connected(const v8::FunctionCallbackInfo& args); #ifdef WITH_SSL void v8_runt_socket_enable_ssl(const v8::FunctionCallbackInfo& args); #endif