method WebSocketStream.closeWebSocketStream.close(closeInfo?: WebSocketCloseInfo): voidDeprecatedParametersoptionalcloseInfo: WebSocketCloseInfoReturn Typevoid