mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
websocket: move .nonce_size to pub mut:
This commit is contained in:
@ -31,6 +31,7 @@ fn main() {
|
||||
}
|
||||
*/
|
||||
mut ws := websocket.new('ws://localhost:9001/getCaseCount')
|
||||
// ws.nonce_size = 16 // try this, if it does not work with your server
|
||||
// defer { }
|
||||
ws.subscriber.subscribe('on_open', on_open)
|
||||
ws.subscriber.subscribe('on_message', on_message)
|
||||
|
Reference in New Issue
Block a user