1
0
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:
Carlos Esquerdo Bernat 2020-07-29 16:52:33 +02:00 committed by GitHub
parent 280afb2282
commit 2f2463a04c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,13 +18,13 @@ mut:
// cwebsocket_subprotocol *subprotocols[];
mtx &sync.Mutex = sync.new_mutex()
write_lock &sync.Mutex = sync.new_mutex()
state State
socket net.Socket
flags []Flag
sslctx &C.SSL_CTX
ssl &C.SSL
fragments []Fragment
pub mut:
state State
log log.Log = log.Log{
output_label: 'ws'
}