ws: make Client.state `pub mut` (#6009)

pull/6018/head
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
1 changed files with 1 additions and 1 deletions

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'
}