menu
Dart
dart:html
WebSocket
close method
close
brightness_4
brightness_5
description
close
method
void
close
(
[
int
?
code
,
String
?
reason
]
)
Implementation
void close([int? code, String? reason]) native;
Dart
dart:html
WebSocket
close method
WebSocket class
Constructors
WebSocket
Properties
binaryType
bufferedAmount
extensions
hashCode
on
onClose
onError
onMessage
onOpen
protocol
readyState
runtimeType
url
Methods
addEventListener
close
dispatchEvent
noSuchMethod
removeEventListener
send
sendBlob
sendByteBuffer
sendString
sendTypedData
toString
Operators
operator ==
Static properties
supported
Constants
CLOSED
closeEvent
CLOSING
CONNECTING
errorEvent
messageEvent
OPEN
openEvent