close

fun close(code: Short = 1000)(source)

Close a websocket.