2024-01-01 14:58:21 -05:00
|
|
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
2023-12-24 08:04:32 -05:00
|
|
|
import { core } from "ext:core/mod.js";
|
|
|
|
const {
|
|
|
|
op_ws_create,
|
|
|
|
op_ws_close,
|
|
|
|
op_ws_send_binary,
|
|
|
|
op_ws_send_binary_ab,
|
|
|
|
op_ws_send_text,
|
|
|
|
op_ws_next_event,
|
|
|
|
op_ws_get_buffer,
|
|
|
|
op_ws_get_buffer_as_string,
|
|
|
|
op_ws_get_error,
|
|
|
|
op_ws_send_ping,
|
|
|
|
op_ws_get_buffered_amount,
|
|
|
|
op_ws_send_text_async,
|
|
|
|
op_ws_send_binary_async,
|
|
|
|
op_ws_check_permission_and_cancel_handle,
|
|
|
|
} = core.ensureFastOps();
|
|
|
|
|
|
|
|
export {
|
|
|
|
op_ws_check_permission_and_cancel_handle,
|
|
|
|
op_ws_close,
|
|
|
|
op_ws_create,
|
|
|
|
op_ws_get_buffer,
|
|
|
|
op_ws_get_buffer_as_string,
|
|
|
|
op_ws_get_buffered_amount,
|
|
|
|
op_ws_get_error,
|
|
|
|
op_ws_next_event,
|
|
|
|
op_ws_send_binary,
|
|
|
|
op_ws_send_binary_ab,
|
|
|
|
op_ws_send_binary_async,
|
|
|
|
op_ws_send_ping,
|
|
|
|
op_ws_send_text,
|
|
|
|
op_ws_send_text_async,
|
|
|
|
};
|