Function script::dom::websocket::close_the_websocket_connection

source ยท
fn close_the_websocket_connection(
    address: Trusted<WebSocket>,
    task_source: &WebsocketTaskSource,
    canceller: &TaskCanceller,
    code: Option<u16>,
    reason: String,
)