Home
last modified time | relevance | path

Searched refs:CloseAsync (Results 1 – 25 of 80) sorted by relevance

1234

/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.WebSockets.Client/tests/
H A DCloseTest.cs54 … await cws.CloseAsync(WebSocketCloseStatus.InvalidMessageType, string.Empty, cts.Token); in CloseAsync_ServerInitiatedClose_Success()
77 await cws.CloseAsync(closeStatus, closeDescription, cts.Token); in CloseAsync_ClientInitiatedClose_Success()
95 … await cws.CloseAsync(WebSocketCloseStatus.NormalClosure, closeDescription, cts.Token); in CloseAsync_CloseDescriptionIsMaxLength_Success()
118 … { Task t = cws.CloseAsync(WebSocketCloseStatus.NormalClosure, closeDescription, cts.Token); }); in CloseAsync_CloseDescriptionIsMaxLengthPlusOne_ThrowsArgumentException()
135 await cws.CloseAsync(closeStatus, closeDescription, cts.Token); in CloseAsync_CloseDescriptionHasUnicode_Success()
153 await cws.CloseAsync(closeStatus, closeDescription, cts.Token); in CloseAsync_CloseDescriptionIsNull_Success()
190 await cws.CloseAsync(closeStatus, closeDescription, cts.Token); in CloseOutputAsync_ClientInitiated_CanReceive_CanClose()
236 await cws.CloseAsync(closeStatus, closeDescription, cts.Token); in CloseOutputAsync_ServerInitiated_CanSend()
288 … await cws.CloseAsync(WebSocketCloseStatus.NormalClosure, "", CancellationToken.None); in CloseOutputAsync_DuringConcurrentReceiveAsync_ExpectedStates()
292 … await cws.CloseAsync(WebSocketCloseStatus.NormalClosure, "", CancellationToken.None); in CloseOutputAsync_DuringConcurrentReceiveAsync_ExpectedStates()
[all …]
H A DConnectTest.cs84 … await cws.CloseAsync(WebSocketCloseStatus.NormalClosure, string.Empty, CancellationToken.None); in ConnectAsync_AddCustomHeaders_Success()
130 … await cws.CloseAsync(WebSocketCloseStatus.NormalClosure, string.Empty, CancellationToken.None); in ConnectAsync_AddHostHeader_Success()
180 … await cws.CloseAsync(WebSocketCloseStatus.NormalClosure, string.Empty, CancellationToken.None); in ConnectAsync_CookieHeaders_Success()
H A DSendReceiveTest.cs69 …await cws.CloseAsync(WebSocketCloseStatus.NormalClosure, "PartialMessageDueToSmallReceiveBufferTes… in SendReceive_PartialMessageDueToSmallReceiveBuffer_Success()
111 …await cws.CloseAsync(WebSocketCloseStatus.NormalClosure, "PartialMessageBeforeCompleteMessageArriv… in SendReceive_PartialMessageBeforeCompleteMessageArrives_Success()
345 …await cws.CloseAsync(WebSocketCloseStatus.NormalClosure, "SendReceive_VaryingLengthBuffers_Success… in SendReceive_VaryingLengthBuffers_Success()
371 …await cws.CloseAsync(WebSocketCloseStatus.NormalClosure, "SendReceive_VaryingLengthBuffers_Success… in SendReceive_Concurrent_Success()
H A DKeepAliveTest.cs34 …await cws.CloseAsync(WebSocketCloseStatus.NormalClosure, "KeepAlive_LongDelayBetweenSendReceives_S… in KeepAlive_LongDelayBetweenSendReceives_Succeeds()
H A DClientWebSocketUnitTest.cs54 … { Task t = cws.CloseAsync(WebSocketCloseStatus.Empty, "", new CancellationToken()); }); in CloseAsync_CreateAndClose_ThrowsInvalidOperationException()
196 … { Task t = cws.CloseAsync(WebSocketCloseStatus.Empty, "", new CancellationToken()); }); in CloseAsync_DisposeAndClose_ThrowsObjectDisposedException()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/tests/System/Net/Prerequisites/Servers/CoreFxNetCloudService/WebServer/WebSocket/
H A DEchoWebSocket.ashx.cs83 … await socket.CloseAsync(WebSocketCloseStatus.Empty, null, CancellationToken.None); in ProcessWebSocketRequest()
87 await socket.CloseAsync( in ProcessWebSocketRequest()
119 await socket.CloseAsync( in ProcessWebSocketRequest()
133 …await socket.CloseAsync(WebSocketCloseStatus.NormalClosure, receivedMessage, CancellationToken.Non… in ProcessWebSocketRequest()
H A DEchoWebSocketHeaders.ashx.cs75 … await socket.CloseAsync(WebSocketCloseStatus.Empty, null, CancellationToken.None); in ProcessWebSocketRequest()
79 await socket.CloseAsync( in ProcessWebSocketRequest()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.Net.WebSockets/
H A DClientWebSocketTest.cs54 …socket.CloseAsync (WebSocketCloseStatus.NormalClosure, string.Empty, CancellationToken.None).Wait … in Teardown()
137 …Assert.IsTrue (socket.CloseAsync (WebSocketCloseStatus.NormalClosure, string.Empty, CancellationTo… in EchoTest()
169 …Assert.IsTrue (socket.CloseAsync (WebSocketCloseStatus.NormalClosure, string.Empty, CancellationTo… in CloseAsyncTest()
211 …Assert.IsTrue (socket.CloseAsync (WebSocketCloseStatus.NormalClosure, string.Empty, CancellationTo… in ReceiveAsyncWrongState_Closed()
226 …Assert.IsTrue (socket.CloseAsync (WebSocketCloseStatus.NormalClosure, string.Empty, CancellationTo… in SendAsyncWrongState_Closed()
275 await client.CloseAsync (WebSocketCloseStatus.NormalClosure, "Finished", cancellationToken); in SendAsyncEndOfMessageTest()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.HttpListener/tests/
H A DHttpListenerWebSocketTests.cs179 … Task clientCloseTask = Client.CloseAsync(status, statusDescription, new CancellationToken()); in CloseOutputAsync_HandshakeStartedFromClient_Success()
201 … await context.WebSocket.CloseAsync(WebSocketCloseStatus.Empty, null, new CancellationToken()); in CloseOutputAsync_HandshakeStartedFromClient_Success()
241 …Task serverCloseTask = context.WebSocket.CloseAsync(status, statusDescription, new CancellationTok… in CloseAsync_HandshakeStartedFromClient_Success()
264 … await context.WebSocket.CloseAsync(WebSocketCloseStatus.Empty, null, new CancellationToken()); in CloseAsync_HandshakeStartedFromClient_Success()
284 …sert.ThrowsAsync<ArgumentException>(paramName, () => context.WebSocket.CloseAsync(status, statusDe… in CloseAsync_InvalidCloseStatus_ThrowsArgumentException()
295 … await context.WebSocket.CloseAsync(WebSocketCloseStatus.Empty, null, new CancellationToken()); in CloseAsync_AfterDisposed_Nop()
305 … await context.WebSocket.CloseAsync(WebSocketCloseStatus.Empty, null, new CancellationToken()); in CloseAsync_AfterAborted_Nop()
/dports/www/node10/node-v10.24.1/src/inspector/
H A Dmain_thread_interface.h93 static void CloseAsync(AsyncAndInterface*);
106 DeleteFnPtr<AsyncAndInterface, CloseAsync> main_thread_request_;
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.WebSockets.Client/src/System/Net/WebSockets/
H A DWebSocketHandle.Windows.cs111 public Task CloseAsync( in CloseAsync() method
117 return _webSocket.CloseAsync(closeStatus, statusDescription, cancellationToken); in CloseAsync()
H A DClientWebSocket.cs187 public override Task CloseAsync(WebSocketCloseStatus closeStatus, string statusDescription, in CloseAsync() method in System.Net.WebSockets.ClientWebSocket
191 return _innerWebSocket.CloseAsync(closeStatus, statusDescription, cancellationToken); in CloseAsync()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.ServiceModel/Test/System.ServiceModel.Dispatcher/
H A DBug652331Test.cs349 public void CloseAsync() { in CloseAsync() method in WebServiceMoonlightTest.ServiceReference1.Service1Client
350 this.CloseAsync(null); in CloseAsync()
353 public void CloseAsync(object userState) { in CloseAsync() method in WebServiceMoonlightTest.ServiceReference1.Service1Client
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/test/System.Web.Http.Integration.Test/ContentNegotiation/
H A DContentNegotiationTestBase.cs39 server.CloseAsync().Wait(); in CleanupHost()
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/test/System.Web.Http.Integration.Test/ModelBinding/
H A DModelBindingTests.cs45 server.CloseAsync().Wait(); in CleanupHost()
/dports/emulators/citra/citra-ac98458e0/src/core/hle/service/ac/
H A Dac_i.cpp16 {0x00080004, &AC_I::CloseAsync, "CloseAsync"}, in AC_I()
H A Dac_u.cpp16 {0x00080004, &AC_U::CloseAsync, "CloseAsync"}, in AC_U()
H A Dac.h67 void CloseAsync(Kernel::HLERequestContext& ctx);
/dports/emulators/citra-qt5/citra-ac98458e0/src/core/hle/service/ac/
H A Dac_i.cpp16 {0x00080004, &AC_I::CloseAsync, "CloseAsync"}, in AC_I()
H A Dac_u.cpp16 {0x00080004, &AC_U::CloseAsync, "CloseAsync"}, in AC_U()
H A Dac.h67 void CloseAsync(Kernel::HLERequestContext& ctx);
/dports/audio/strawberry/strawberry-1.0.0/src/device/
H A Dfilesystemdevice.h50 void CloseAsync();
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/test/System.Web.Http.Integration.Test/Authentication/
H A DBasicOverHttpTest.cs72 server.CloseAsync().Wait(); in RunBasicAuthTest()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.ServiceModel/Test/System.ServiceModel/
H A DBug36080Test.cs521 public void CloseAsync() in CloseAsync() method in HelloWorldServiceClient
523 this.CloseAsync(null); in CloseAsync()
526 public void CloseAsync(object userState) in CloseAsync() method in HelloWorldServiceClient
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/net/System/Net/WebSockets/
H A DWebSocketBase.cs234 …tring(SR.net_WebSockets_ReceiveAsyncDisallowedAfterCloseAsync, Methods.CloseAsync, Methods.CloseOu… in ReceiveAsyncCore()
754 public override Task CloseAsync(WebSocketCloseStatus closeStatus, in CloseAsync() method in System.Net.WebSockets.WebSocketBase
773 Logging.Enter(Logging.WebSockets, this, Methods.CloseAsync, inputParameter); in CloseAsyncCore()
908 ThrowIfConvertibleException(Methods.CloseAsync, in CloseAsyncCore()
936 typeof(WebSocket).Name + "." + Methods.CloseAsync, in CloseAsyncCore()
999 … ThrowIfConvertibleException(Methods.CloseAsync, exception, cancellationToken, aborted); in CloseAsyncCore()
1012 Logging.Exit(Logging.WebSockets, this, Methods.CloseAsync, inputParameter); in CloseAsyncCore()
2510 internal const string CloseAsync = "CloseAsync"; field in System.Net.WebSockets.WebSocketBase.Methods

1234