public static void lws_close_reason(lws wsi, lws_close_status status, string buf) { var bytes = QuickJS.Utils.TextUtils.GetNullTerminatedBytes(buf); unsafe { fixed(byte *pointer = bytes) { lws_close_reason(wsi, status, pointer, bytes.Length - 1); } } }
public bool Equals(lws other) { return(this == other); }
public static extern unsafe void lws_close_reason(lws wsi, lws_close_status status, byte *buf, size_t len);
public static extern int lws_is_final_fragment(lws wsi);
public static extern int lws_callback_on_writable(lws wsi);
public static extern int lws_frame_is_binary(lws wsi);
public static extern lws_context lws_get_context(lws wsi);
public static extern unsafe int lws_write(lws wsi, byte *buf, size_t len, lws_write_protocol wp);