2026-02-20 23:40:15 -08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <v8.h>
|
|
|
|
|
|
|
|
|
|
void bind_socket_bridge(v8::Isolate* isolate, const v8::Global<v8::Context>& context);
|
|
|
|
|
|
|
|
|
|
void v8_runt_socket_create(const v8::FunctionCallbackInfo<v8::Value>& args);
|
|
|
|
|
void v8_runt_socket_bind(const v8::FunctionCallbackInfo<v8::Value>& args);
|
|
|
|
|
void v8_runt_socket_listen(const v8::FunctionCallbackInfo<v8::Value>& args);
|
|
|
|
|
void v8_runt_socket_accept(const v8::FunctionCallbackInfo<v8::Value>& args);
|
|
|
|
|
void v8_runt_socket_connect(const v8::FunctionCallbackInfo<v8::Value>& args);
|
|
|
|
|
void v8_runt_socket_send(const v8::FunctionCallbackInfo<v8::Value>& args);
|
|
|
|
|
void v8_runt_socket_recv(const v8::FunctionCallbackInfo<v8::Value>& args);
|
|
|
|
|
void v8_runt_socket_close(const v8::FunctionCallbackInfo<v8::Value>& args);
|
|
|
|
|
void v8_runt_socket_set_blocking(const v8::FunctionCallbackInfo<v8::Value>& args);
|
|
|
|
|
void v8_runt_socket_select(const v8::FunctionCallbackInfo<v8::Value>& args);
|
|
|
|
|
void v8_runt_socket_is_connected(const v8::FunctionCallbackInfo<v8::Value>& args);
|
2026-10-03 01:22:41 -07:00
|
|
|
void v8_runt_udp_create(const v8::FunctionCallbackInfo<v8::Value>& args);
|
|
|
|
|
void v8_runt_udp_bind(const v8::FunctionCallbackInfo<v8::Value>& args);
|
|
|
|
|
void v8_runt_udp_sendto(const v8::FunctionCallbackInfo<v8::Value>& args);
|
|
|
|
|
void v8_runt_udp_recvfrom(const v8::FunctionCallbackInfo<v8::Value>& args);
|
2026-02-20 23:40:15 -08:00
|
|
|
#ifdef WITH_SSL
|
|
|
|
|
void v8_runt_socket_enable_ssl(const v8::FunctionCallbackInfo<v8::Value>& args);
|
|
|
|
|
#endif
|