Home
last modified time | relevance | path

Searched refs:PostAsync (Results 1 – 25 of 61) sorted by relevance

123

/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/src/System.Net.Http.Formatting/
H A DHttpClientExtensions.cs51 … return client.PostAsync(requestUri, value, new JsonMediaTypeFormatter(), cancellationToken); in PostAsJsonAsync()
88 … return client.PostAsync(requestUri, value, new XmlMediaTypeFormatter(), cancellationToken); in PostAsXmlAsync()
103 …public static Task<HttpResponseMessage> PostAsync<T>(this HttpClient client, string requestUri, T … in PostAsync() method in System.Net.Http.HttpClientExtensions
105 return client.PostAsync(requestUri, value, formatter, CancellationToken.None); in PostAsync()
121 …public static Task<HttpResponseMessage> PostAsync<T>(this HttpClient client, string requestUri, T … in PostAsync() method in System.Net.Http.HttpClientExtensions
123 …return client.PostAsync(requestUri, value, formatter, mediaType: null, cancellationToken: cancella… in PostAsync()
140 …public static Task<HttpResponseMessage> PostAsync<T>(this HttpClient client, string requestUri, T … in PostAsync() method in System.Net.Http.HttpClientExtensions
142 … return client.PostAsync(requestUri, value, formatter, mediaType, CancellationToken.None); in PostAsync()
161 …public static Task<HttpResponseMessage> PostAsync<T>(this HttpClient client, string requestUri, T … in PostAsync() method in System.Net.Http.HttpClientExtensions
170 return client.PostAsync(requestUri, content, cancellationToken); in PostAsync()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.HttpListener/tests/
H A DHttpRequestStreamTests.cs48 …Task<HttpResponseMessage> clientTask = client.PostAsync(_factory.ListeningUrl, new StringContent(t… in Read_FullLengthAsynchronous_Success()
92 …Task<HttpResponseMessage> clientTask = client.PostAsync(_factory.ListeningUrl, new StringContent(t… in Read_FullLengthAsynchronous_PadBuffer_Success()
138 …Task<HttpResponseMessage> clientTask = client.PostAsync(_factory.ListeningUrl, new StringContent(t… in Read_FullLengthSynchronous_Success()
261 …Task<HttpResponseMessage> clientTask = client.PostAsync(_factory.ListeningUrl, new StringContent(T… in Read_TooMuchAsynchronous_Success()
287 …Task<HttpResponseMessage> clientTask = client.PostAsync(_factory.ListeningUrl, new StringContent(T… in Read_TooMuchSynchronous_Success()
313 …Task<HttpResponseMessage> clientTask = client.PostAsync(_factory.ListeningUrl, new StringContent(T… in Read_NotEnoughThenCloseAsynchronous_Success()
337 …Task<HttpResponseMessage> clientTask = client.PostAsync(_factory.ListeningUrl, new StringContent(T… in Read_Disposed_ReturnsZero()
361 …Task<HttpResponseMessage> clientTask = client.PostAsync(_factory.ListeningUrl, new StringContent("… in CanSeek_Get_ReturnsFalse()
390 …Task<HttpResponseMessage> clientTask = client.PostAsync(_factory.ListeningUrl, new StringContent("… in CanRead_Get_ReturnsTrue()
411 …Task<HttpResponseMessage> clientTask = client.PostAsync(_factory.ListeningUrl, new StringContent("… in CanWrite_Get_ReturnsFalse()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/test/System.Net.Http.Formatting.Test.Unit/
H A DHttpClientExtensionsTest.cs84 …Assert.ThrowsArgumentNull(() => client.PostAsync("http://www.example.com", new object(), new JsonM… in PostAsync_WhenClientIsNull_ThrowsException()
90 …Assert.Throws<InvalidOperationException>(() => _client.PostAsync(null, new object(), new JsonMedia… in PostAsync_WhenRequestUriIsNull_ThrowsException()
99 var result = _client.PostAsync("myapi/", new object(), _formatter); in PostAsync_WhenRequestUriIsSet_CreatesRequestWithAppropriateUri()
108 …var result = _client.PostAsync("http://example.com/myapi/", new object(), _formatter, "foo/bar; ch… in PostAsync_WhenAuthoritativeMediaTypeIsSet_CreatesRequestWithAppropriateContentType()
118 …var result = _client.PostAsync("http://example.com/myapi/", new object(), _formatter, "foo/bar; ch… in PostAsync_WhenFormatterIsSet_CreatesRequestWithObjectContentAndCorrectFormatter()
128 var result = _client.PostAsync("http://example.com/myapi/", new object(), _formatter); in PostAsync_IssuesPostRequest()
137 …Assert.ThrowsArgumentNull(() => _client.PostAsync("http;//example.com", new object(), formatter: n… in PostAsync_WhenMediaTypeFormatterIsNull_ThrowsException()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Http/tests/FunctionalTests/
H A DPostScenarioUWPTest.cs47 … await Assert.ThrowsAsync<HttpRequestException>(() => client.PostAsync(uri, content)); in Authentication_UseStreamContent_Throws()
71 … await Assert.ThrowsAsync<HttpRequestException>(() => client.PostAsync(uri, content)); in Authentication_UseMultiInterfaceNonRewindableStreamContent_Throws()
95 using (HttpResponseMessage response = await client.PostAsync(uri, content)) in Authentication_UseMultiInterfaceStreamContent_Success()
123 using (HttpResponseMessage response = await client.PostAsync(uri, content)) in Authentication_UseMemoryStreamVisibleBufferContent_Success()
151 using (HttpResponseMessage response = await client.PostAsync(uri, content)) in Authentication_UseMemoryStreamNotVisibleBufferContent_Success()
H A DHttpClientTest.cs269 Task t3 = client.PostAsync(CreateFakeUri(), content, cts.Token); in GetPutPostDeleteAsync_Canceled_Throws()
294 verify(await client.PostAsync(CreateFakeUri(), new ByteArrayContent(new byte[1]))); in GetPutPostDeleteAsync_Success()
295 …verify(await client.PostAsync(CreateFakeUri(), new ByteArrayContent(new byte[1]), CancellationToke… in GetPutPostDeleteAsync_Success()
372 …Assert.Throws<ObjectDisposedException>(() => { client.PostAsync(CreateFakeUri(), new ByteArrayCont… in Dispose_UseAfterDispose_Throws()
H A DPostScenarioTest.cs176 using (HttpResponseMessage response = await client.PostAsync(serverUri, null)) in PostAsync_EmptyContent_ContentTypeHeaderNotSent()
204 … using (HttpResponseMessage response = await client.PostAsync(serverUri, requestContent)) in PostHelper()
H A DHttpClientHandlerTest.cs1423 using (response = await client.PostAsync(remoteServer, content)) in PostAsync_CallMethodTwice_StringContent()
1431 using (response = await client.PostAsync(remoteServer, content)) in PostAsync_CallMethodTwice_StringContent()
1448 using (HttpResponseMessage response = await client.PostAsync(remoteServer, content)) in PostAsync_CallMethod_UnicodeStringContent()
1463 using (HttpResponseMessage response = await client.PostAsync(remoteServer, content)) in PostAsync_CallMethod_StreamContent()
1602 using (HttpResponseMessage response = await client.PostAsync(remoteServer, null)) in PostAsync_CallMethod_NullContent()
1624 using (HttpResponseMessage response = await client.PostAsync(remoteServer, content)) in PostAsync_CallMethod_EmptyContent()
1688 using (HttpResponseMessage response = await client.PostAsync(redirectUri, content)) in PostAsync_Redirect_ResultingGetFormattedCorrectly()
1725 … using (HttpResponseMessage response = await client.PostAsync(redirectUri, new StreamContent(fs))) in PostAsync_Redirect_LargePayload_Helper()
1746 … using (HttpResponseMessage response = await client.PostAsync(remoteServer, content)) in PostAsync_ReuseRequestContent_Success()
H A DHttpClientHandlerTest.ServerCertificates.cs91 Task<HttpResponseMessage> responseTask = client.PostAsync( in UseCallback_HaveNoCredsAndUseAuthenticatedCustomProxyAndPostToSecureServer_ProxyAuthenticationRequiredStatusCode()
420 …using (HttpResponseMessage response = await client.PostAsync(Configuration.Http.SecureRemoteEchoSe… in PostAsync_Post_ChannelBinding_ConfiguredCorrectly()
/dports/net/zerotier/ZeroTierOne-1.8.3/attic/WinUI/
H A DCentralAPI.cs140 HttpResponseMessage response = await client.PostAsync(postURL, content); in Login()
186 response = await client.PostAsync(postURL, postContent); in CreateAuthToken()
227 HttpResponseMessage response = await client.PostAsync(networkURL, postContent); in CreateNewNetwork()
246 HttpResponseMessage response = await client.PostAsync(postURL, postContent); in AuthorizeNode()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Http/src/System/Net/Http/
H A DHttpClient.cs306 public Task<HttpResponseMessage> PostAsync(string requestUri, HttpContent content) in PostAsync() method in System.Net.Http.HttpClient
308 return PostAsync(CreateUri(requestUri), content); in PostAsync()
311 public Task<HttpResponseMessage> PostAsync(Uri requestUri, HttpContent content) in PostAsync() method in System.Net.Http.HttpClient
313 return PostAsync(requestUri, content, CancellationToken.None); in PostAsync()
316 public Task<HttpResponseMessage> PostAsync(string requestUri, HttpContent content, in PostAsync() method in System.Net.Http.HttpClient
319 return PostAsync(CreateUri(requestUri), content, cancellationToken); in PostAsync()
322 public Task<HttpResponseMessage> PostAsync(Uri requestUri, HttpContent content, in PostAsync() method in System.Net.Http.HttpClient
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Net.Http/System.Net.Http/
H A DHttpClient.cs184 public Task<HttpResponseMessage> PostAsync (string requestUri, HttpContent content) in PostAsync() method in System.Net.Http.HttpClient
189 …public Task<HttpResponseMessage> PostAsync (string requestUri, HttpContent content, CancellationTo… in PostAsync() method in System.Net.Http.HttpClient
194 public Task<HttpResponseMessage> PostAsync (Uri requestUri, HttpContent content) in PostAsync() method in System.Net.Http.HttpClient
199 …public Task<HttpResponseMessage> PostAsync (Uri requestUri, HttpContent content, CancellationToken… in PostAsync() method in System.Net.Http.HttpClient
/dports/irc/smuxi/smuxi-1.1/lib/ServiceStack/src/ServiceStack.Interfaces/Service/
H A DIRestClientAsync.cs13 …void PostAsync<TResponse>(string relativeOrAbsoluteUrl, object request, Action<TResponse> onSucces… in PostAsync() method
/dports/irc/smuxi/smuxi-1.1/lib/SignalR/src/Microsoft.AspNet.SignalR.Client/Http/
H A DDefaultHttpClient.cs58 return HttpHelper.PostAsync(url, request => in Post()
H A DHttpHelper.cs52 …public static Task<HttpWebResponse> PostAsync(string url, Action<HttpWebRequest> requestPreparer, … in PostAsync() method in Microsoft.AspNet.SignalR.Client.Http.HttpHelper
/dports/irc/smuxi/smuxi-1.1/lib/ServiceStack/src/ServiceStack.Common/ServiceClient.Web/
H A DJsvRestClientAsync.cs67 …public void PostAsync<TResponse>(string relativeOrAbsoluteUrl, object request, Action<TResponse> o… in PostAsync() method in ServiceStack.ServiceClient.Web.JsvRestClientAsync
H A DXmlRestClientAsync.cs67 …public void PostAsync<TResponse>(string relativeOrAbsoluteUrl, object request, Action<TResponse> o… in PostAsync() method in ServiceStack.ServiceClient.Web.XmlRestClientAsync
H A DJsonRestClientAsync.cs68 …public void PostAsync<TResponse>(string relativeOrAbsoluteUrl, object request, Action<TResponse> o… in PostAsync() method in ServiceStack.ServiceClient.Web.JsonRestClientAsync
H A DSoap11ServiceClient.cs39 public void PostAsync<TResponse>(string relativeOrAbsoluteUrl, object request, in PostAsync() method in ServiceStack.ServiceClient.Web.Soap11ServiceClient
H A DSoap12ServiceClient.cs39 public void PostAsync<TResponse>(string relativeOrAbsoluteUrl, object request, in PostAsync() method in ServiceStack.ServiceClient.Web.Soap12ServiceClient
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Web/
H A DAspNetSynchronizationContext.cs134 internal void PostAsync(Func<object, Task> callback, Object state) { in PostAsync() method in System.Web.AspNetSynchronizationContext
/dports/net/storj/storj-1.45.3/vendor/github.com/apache/thrift/lib/netcore/Thrift/Transports/Client/
H A DTHttpClientTransport.cs178 var msg = await _httpClient.PostAsync(_uri, outStream, cancellationToken); in FlushAsync()
/dports/www/fabio/fabio-1.5.14/vendor/github.com/apache/thrift/thrift-da1169d75b15/lib/netcore/Thrift/Transports/Client/
H A DTHttpClientTransport.cs178 var msg = await _httpClient.PostAsync(_uri, outStream, cancellationToken); in FlushAsync()
/dports/misc/concourse/concourse-6.7.2/vendor/github.com/apache/thrift/lib/netcore/Thrift/Transports/Client/
H A DTHttpClientTransport.cs179 var msg = await _httpClient.PostAsync(_uri, outStream, cancellationToken); in FlushAsync()
/dports/misc/concourse/concourse-6.7.2/vendor/github.com/apache/thrift/lib/netstd/Thrift/Transport/Client/
H A DTHttpTransport.cs178 …var response = (await _httpClient.PostAsync(_uri, contentStream, cancellationToken)).EnsureSuccess… in FlushAsync()
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/thrift/lib/netstd/Thrift/Transport/Client/
H A DTHttpTransport.cs224 …var response = (await _httpClient.PostAsync(_uri, contentStream, cancellationToken)).EnsureSuccess… in FlushAsync()

123