Searched refs:closeReason (Results 1 - 4 of 4) sorted by relevance
/foundation/communication/netstack/interfaces/innerkits/websocket_client/include/ |
H A D | client_context.h | 76 closeReason = reason;
in Close() 122 std::string closeReason;
member in OHOS::NetStack::WebSocketClient::ClientContext
|
/foundation/communication/netstack/frameworks/js/napi/websocket/websocket_exec/src/ |
H A D | websocket_exec.cpp | 146 closeReason = reason; in Close() 209 std::string closeReason; member in OHOS::NetStack::Websocket::UserData 374 std::string closeReason; in LwsCallbackWsPeerInitiatedClose() local 375 closeReason.append(reinterpret_cast<char *>(in) + sizeof(uint16_t), len - sizeof(uint16_t)); in LwsCallbackWsPeerInitiatedClose() 376 userData->Close(static_cast<lws_close_status>(closeStatus), closeReason); in LwsCallbackWsPeerInitiatedClose() local 392 reinterpret_cast<unsigned char *>(const_cast<char *>(userData->closeReason.c_str())), in LwsCallbackClientWritable() 393 strlen(userData->closeReason.c_str())); in LwsCallbackClientWritable() 541 if ((userData->closeReason).empty()) { in LwsCallbackClientClosed() 548 OnClose(reinterpret_cast<EventManager *>(user), userData->closeStatus, userData->closeReason); in LwsCallbackClientClosed() 1010 void WebSocketExec::OnClose(EventManager *manager, lws_close_status closeStatus, const std::string &closeReason) in OnClose() argument [all...] |
/foundation/communication/netstack/frameworks/native/websocket_client/ |
H A D | websocket_client.cpp | 126 std::string closeReason;
in LwsCallbackWsPeerInitiatedClose() local 127 closeReason.append(reinterpret_cast<char *>(in) + sizeof(uint16_t), len - sizeof(uint16_t));
in LwsCallbackWsPeerInitiatedClose() 128 client->GetClientContext()->Close(static_cast<lws_close_status>(closeStatus), closeReason);
in LwsCallbackWsPeerInitiatedClose() local 146 reinterpret_cast<unsigned char *>(const_cast<char *>(client->GetClientContext()->closeReason.c_str())),
in LwsCallbackClientWritable() 147 strlen(client->GetClientContext()->closeReason.c_str()));
in LwsCallbackClientWritable() 270 if ((client->GetClientContext()->closeReason).empty()) {
in LwsCallbackClientClosed()
|
/foundation/communication/netstack/frameworks/js/napi/websocket/websocket_exec/include/ |
H A D | websocket_exec.h | 85 static void OnClose(EventManager *manager, lws_close_status closeStatus, const std::string &closeReason);
|
Completed in 5 milliseconds