mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ws: make Client.state pub mut
(#6009)
This commit is contained in:

committed by
GitHub

parent
280afb2282
commit
2f2463a04c
@ -18,13 +18,13 @@ mut:
|
|||||||
// cwebsocket_subprotocol *subprotocols[];
|
// cwebsocket_subprotocol *subprotocols[];
|
||||||
mtx &sync.Mutex = sync.new_mutex()
|
mtx &sync.Mutex = sync.new_mutex()
|
||||||
write_lock &sync.Mutex = sync.new_mutex()
|
write_lock &sync.Mutex = sync.new_mutex()
|
||||||
state State
|
|
||||||
socket net.Socket
|
socket net.Socket
|
||||||
flags []Flag
|
flags []Flag
|
||||||
sslctx &C.SSL_CTX
|
sslctx &C.SSL_CTX
|
||||||
ssl &C.SSL
|
ssl &C.SSL
|
||||||
fragments []Fragment
|
fragments []Fragment
|
||||||
pub mut:
|
pub mut:
|
||||||
|
state State
|
||||||
log log.Log = log.Log{
|
log log.Log = log.Log{
|
||||||
output_label: 'ws'
|
output_label: 'ws'
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user