Issue 22: Don't send Sec-WebSocket-Protocol unless specified

This commit is contained in:
JCash
2020-11-09 19:03:27 +01:00
parent 0bf63cbdf8
commit b93a91c9b8
2 changed files with 5 additions and 7 deletions

View File

@@ -23,7 +23,7 @@
- name: protocol
type: string
desc: the protocol to use (e.g. 'chat'). (Default is 'binary')
desc: the protocol to use (e.g. 'chat'). If not set, no `Sec-WebSocket-Protocol` header is sent.
- name: headers
type: string