xs/wshandshake.xs

filter: Statementstmt 100% 1 / 1 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 100% 1 / 1 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« include/punk/punk_escape.h ↑ Summary
1 MODULE = Punk PACKAGE = Punk::WebSocket
2  
3 PROTOTYPES: DISABLE
4  
5 # The upgrade handshake, in C (punk_wshandshake.h). Reached from the dispatcher
6 # once a websocket route's guards have passed: validate and answer the upgrade,
7 # then take the socket over and hand the connection to the handler. The codec
8 # and the connection object are already XS, so lib/Punk/WebSocket.pm is docs.
9 SV *
10 _dispatch(c, rec, env)
11 SV *c
12 SV *rec
13 SV *env
14 CODE:
15 101 RETVAL = punk_ws_dispatch(aTHX_ c, rec, env);
16 OUTPUT:
17 RETVAL
« include/punk/punk_escape.h ↑ Summary