0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 20:30:23 +00:00

Add missing frame types to websocket_handle specs/docs

Thanks Artem.
This commit is contained in:
Loïc Hoguin 2018-06-26 10:59:22 +02:00
parent 7867e435fe
commit 5001fcbc34
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ Req :: cowboy_req:req()
PartialReq :: map()
State :: any()
Opts :: cowboy_websocket:opts()
InFrame :: {text | binary | ping | pong, binary()}
InFrame :: ping | pong | {text | binary | ping | pong, binary()}
OutFrame :: cow_ws:frame() %% see types below
Info :: any()