Here comes he RunT!

This commit is contained in:
2026-02-20 23:40:15 -08:00
parent 88d989f9cd
commit aaf4596217
36 changed files with 11508 additions and 416 deletions

View File

@ -0,0 +1,20 @@
#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);
#ifdef WITH_SSL
void v8_runt_socket_enable_ssl(const v8::FunctionCallbackInfo<v8::Value>& args);
#endif