Home
last modified time | relevance | path

Searched refs:close_code (Results 1 – 25 of 32) sorted by relevance

12

/third_party/boost/boost/beast/websocket/detail/
Dframe.hpp98 case close_code::normal: // 1000 in is_valid_close_code()
99 case close_code::going_away: // 1001 in is_valid_close_code()
100 case close_code::protocol_error: // 1002 in is_valid_close_code()
101 case close_code::unknown_data: // 1003 in is_valid_close_code()
102 case close_code::bad_payload: // 1007 in is_valid_close_code()
103 case close_code::policy_error: // 1008 in is_valid_close_code()
104 case close_code::too_big: // 1009 in is_valid_close_code()
105 case close_code::needs_extension: // 1010 in is_valid_close_code()
106 case close_code::internal_error: // 1011 in is_valid_close_code()
107 case close_code::service_restart: // 1012 in is_valid_close_code()
[all …]
/third_party/boost/libs/beast/include/boost/beast/websocket/detail/
Dframe.hpp98 case close_code::normal: // 1000 in is_valid_close_code()
99 case close_code::going_away: // 1001 in is_valid_close_code()
100 case close_code::protocol_error: // 1002 in is_valid_close_code()
101 case close_code::unknown_data: // 1003 in is_valid_close_code()
102 case close_code::bad_payload: // 1007 in is_valid_close_code()
103 case close_code::policy_error: // 1008 in is_valid_close_code()
104 case close_code::too_big: // 1009 in is_valid_close_code()
105 case close_code::needs_extension: // 1010 in is_valid_close_code()
106 case close_code::internal_error: // 1011 in is_valid_close_code()
107 case close_code::service_restart: // 1012 in is_valid_close_code()
[all …]
/third_party/boost/libs/beast/include/boost/beast/websocket/
Drfc6455.hpp75 enum close_code : std::uint16_t enum
171 std::uint16_t code = close_code::none;
191 : code(close_code::normal) in close_reason()
198 : code(close_code::normal) in close_reason()
204 close_reason(close_code code_, string_view s) in close_reason()
213 return code != close_code::none; in operator bool()
/third_party/boost/boost/beast/websocket/
Drfc6455.hpp75 enum close_code : std::uint16_t enum
171 std::uint16_t code = close_code::none;
191 : code(close_code::normal) in close_reason()
198 : code(close_code::normal) in close_reason()
204 close_reason(close_code code_, string_view s) in close_reason()
213 return code != close_code::none; in operator bool()
/third_party/boost/boost/beast/websocket/impl/
Dread.hpp58 close_code code_;
76 , code_(close_code::none) in read_some_op()
170 code_ = close_code::too_big;
172 code_ = close_code::protocol_error;
372 code_ = close_code::protocol_error;
385 code_ = close_code::none;
390 code_ = cr.code == close_code::none ?
391 close_code::normal :
392 static_cast<close_code>(cr.code);
450 code_ = close_code::bad_payload;
[all …]
Dclose.hpp368 return do_fail(close_code::none, ev, ec); in close()
399 return do_fail(close_code::none, ev, ec); in close()
427 do_fail(close_code::none, error::closed, ec); in close()
Dstream_impl.hpp158 cr.code = close_code::none; in open()
194 cr.code = close_code::none; in reset()
949 fh.len = cr.code == close_code::none ? in write_close()
961 if(cr.code != close_code::none) in write_close()
Dstream.hpp320 if(code != close_code::none && ! impl_->wr_close) in do_fail()
/third_party/boost/libs/beast/include/boost/beast/websocket/impl/
Dread.hpp58 close_code code_;
76 , code_(close_code::none) in read_some_op()
170 code_ = close_code::too_big;
172 code_ = close_code::protocol_error;
372 code_ = close_code::protocol_error;
385 code_ = close_code::none;
390 code_ = cr.code == close_code::none ?
391 close_code::normal :
392 static_cast<close_code>(cr.code);
450 code_ = close_code::bad_payload;
[all …]
Dclose.hpp368 return do_fail(close_code::none, ev, ec); in close()
399 return do_fail(close_code::none, ev, ec); in close()
427 do_fail(close_code::none, error::closed, ec); in close()
Dstream_impl.hpp158 cr.code = close_code::none; in open()
194 cr.code = close_code::none; in reset()
949 fh.len = cr.code == close_code::none ? in write_close()
961 if(cr.code != close_code::none) in write_close()
Dstream.hpp320 if(code != close_code::none && ! impl_->wr_close) in do_fail()
/third_party/libwebsockets/lib/roles/ws/
Dclient-parser-ws.c36 unsigned short close_code; in lws_ws_client_rx_sm() local
406 close_code = (unsigned short)((pp[0] << 8) | pp[1]); in lws_ws_client_rx_sm()
407 if (close_code < 1000 || in lws_ws_client_rx_sm()
408 close_code == 1004 || in lws_ws_client_rx_sm()
409 close_code == 1005 || in lws_ws_client_rx_sm()
410 close_code == 1006 || in lws_ws_client_rx_sm()
411 (close_code >= 1016 && close_code < 3000) in lws_ws_client_rx_sm()
Dops-ws.c39 unsigned short close_code; in lws_ws_rx_sm() local
481 close_code = (unsigned short)((pp[0] << 8) | pp[1]); in lws_ws_rx_sm()
482 if (close_code < 1000 || in lws_ws_rx_sm()
483 close_code == 1004 || in lws_ws_rx_sm()
484 close_code == 1005 || in lws_ws_rx_sm()
485 close_code == 1006 || in lws_ws_rx_sm()
486 close_code == 1012 || in lws_ws_rx_sm()
487 close_code == 1013 || in lws_ws_rx_sm()
488 close_code == 1014 || in lws_ws_rx_sm()
489 close_code == 1015 || in lws_ws_rx_sm()
[all …]
/third_party/boost/libs/beast/test/beast/websocket/
Dread2.cpp41 close_code code) in doReadTest()
172 doReadTest(w, ws, close_code::none); in doTestRead()
312 doReadTest(w, ws, close_code::bad_payload); in doTestRead()
321 doReadTest(w, ws, close_code::protocol_error); in doTestRead()
341 doReadTest(w, ws, close_code::too_big); in doTestRead()
369 doReadTest(w, ws, close_code::bad_payload); in doTestRead()
608 doReadTest(w, ws, close_code::bad_payload); in doTestRead()
Ddoc_snippets.cpp202 ws.close(close_code::normal); in fxx()
/third_party/boost/libs/beast/test/doc/
Dwebsocket_5_control_frames.cpp49 ws.close(close_code::normal); in snippets()
/third_party/boost/tools/quickbook/src/
Dcode_snippet.cpp55 void close_code();
391 void code_snippet_actions::close_code() in close_code() function in quickbook::code_snippet_actions
427 close_code(); in escaped_comment()
477 close_code(); in end_file()
/third_party/boost/libs/beast/example/websocket/client/sync/
Dwebsocket_client_sync.cpp90 ws.close(websocket::close_code::normal); in main()
/third_party/boost/libs/beast/example/websocket/client/sync-ssl/
Dwebsocket_client_sync_ssl.cpp111 ws.close(websocket::close_code::normal); in main()
/third_party/boost/libs/beast/example/websocket/client/coro/
Dwebsocket_client_coro.cpp109 ws.async_close(websocket::close_code::normal, yield[ec]); in do_session()
/third_party/boost/libs/beast/example/websocket/client/async/
Dwebsocket_client_async.cpp176 ws_.async_close(websocket::close_code::normal, in on_read()
/third_party/boost/libs/beast/example/websocket/client/coro-ssl/
Dwebsocket_client_coro_ssl.cpp134 ws.async_close(websocket::close_code::normal, yield[ec]); in do_session()
/third_party/boost/libs/beast/example/websocket/client/async-ssl/
Dwebsocket_client_async_ssl.cpp209 ws_.async_close(websocket::close_code::normal, in on_read()
/third_party/boost/libs/beast/example/websocket/client/async-ssl-system-executor/
Dwebsocket_client_async_ssl_system_executor.cpp217 ws_.async_close(websocket::close_code::normal, in on_read()

12