| 1 |
|
| MODULE = Protocol::WebSocket::Fast PACKAGE = Protocol::WebSocket::Fast::ServerParser |
| 2 |
|
| PROTOTYPES: DISABLE |
| 3 |
|
| |
| 4 |
|
| BOOT { |
| 5 |
0 |
▶ | Stash(__PACKAGE__).inherit("Protocol::WebSocket::Fast::Parser"); |
Branch: 2 branches
| Branch | True | False | Total |
| Stash(__PACKAGE__).inherit("Protocol::WebSocket::Fast::Parser"); |
0 |
0 |
0 |
| Stash(__PACKAGE__).inherit("Protocol::WebSocket::Fast::Parser"); |
0 |
0 |
0 |
|
| 6 |
|
| } |
| 7 |
|
| |
| 8 |
0 |
| ServerParser* ServerParser::new (Parser::Config cfg = {}) |
| 9 |
0 |
▶ | |
Branch: 1 branch
| Branch | True | False | Total |
|
0 |
0 |
0 |
|
| 10 |
0 |
▶ | bool ServerParser::accept_parsed () |
Branch: 5 branches
| Branch | True | False | Total |
| bool ServerParser::accept_parsed () |
0 |
0 |
0 |
| bool ServerParser::accept_parsed () |
0 |
0 |
0 |
| bool ServerParser::accept_parsed () |
0 |
0 |
0 |
| bool ServerParser::accept_parsed () |
0 |
0 |
0 |
| bool ServerParser::accept_parsed () |
0 |
0 |
0 |
|
| 11 |
|
| |
| 12 |
0 |
▶ | bool ServerParser::accepted () |
Branch: 1 branch
| Branch | True | False | Total |
| bool ServerParser::accepted () |
0 |
0 |
0 |
|
| 13 |
|
| |
| 14 |
|
| ConnectRequestSP ServerParser::accept (string buf) { |
| 15 |
0 |
| RETVAL = THIS->accept(buf); |
| 16 |
0 |
▶ | } |
Branch: 2 branches
| Branch | True | False | Total |
| } |
0 |
0 |
0 |
| } |
0 |
0 |
0 |
|
| 17 |
|
| |
| 18 |
|
| string ServerParser::accept_error (panda::protocol::http::ResponseSP res = nullptr) { |
| 19 |
0 |
▶ | if (!res) RETVAL = THIS->accept_error(); |
Branch: 3 branches
| Branch | True | False | Total |
| if (!res) RETVAL = THIS->accept_error(); |
0 |
0 |
0 |
| if (!res) RETVAL = THIS->accept_error(); |
0 |
0 |
0 |
| if (!res) RETVAL = THIS->accept_error(); |
0 |
0 |
0 |
|
| 20 |
0 |
▶ | else RETVAL = THIS->accept_error(res); |
Branch: 2 branches
| Branch | True | False | Total |
| else RETVAL = THIS->accept_error(res); |
0 |
0 |
0 |
| else RETVAL = THIS->accept_error(res); |
0 |
0 |
0 |
|
| 21 |
|
| } |
| 22 |
|
| |
| 23 |
|
| string ServerParser::accept_response (ConnectResponseSP res = nullptr) { |
| 24 |
0 |
▶ | if (!res) RETVAL = THIS->accept_response(); |
Branch: 3 branches
| Branch | True | False | Total |
| if (!res) RETVAL = THIS->accept_response(); |
0 |
0 |
0 |
| if (!res) RETVAL = THIS->accept_response(); |
0 |
0 |
0 |
| if (!res) RETVAL = THIS->accept_response(); |
0 |
0 |
0 |
|
| 25 |
0 |
▶ | else RETVAL = THIS->accept_response(res); |
Branch: 2 branches
| Branch | True | False | Total |
| else RETVAL = THIS->accept_response(res); |
0 |
0 |
0 |
| else RETVAL = THIS->accept_response(res); |
0 |
0 |
0 |
|
| 26 |
|
| } |