method WebSocket.prototype.closeRe-exportimport { WebSocket } from "https://deno.land/x/texa@0.8.1/mod.ts"; close(code?: number, reason?: string)Gracefully attempt to close the connection. Parametersoptionalcode: numberThe status code. optionalreason: stringThe reason this websocket is closing.