ws: make Client.state `pub mut` (#6009)
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'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue