System.Net.Http
26 wrapped types. Load them with using { "System.Net.Http" }. Click a class to open it.
ByteArrayContent class · extends HttpContent
System.Net.Http.ByteArrayContent · assembly System.Net.Http
Implements: IDisposable
Constructors
new ByteArrayContent(byte[] content) |
new ByteArrayContent(byte[] content, int offset, int count) |
Ring: new ByteArrayContent(args) uses one constructor; the others are chosen by the parameter names: new ByteArrayContent().@New([ :param = value ]) or dnNew("ByteArrayContent",[ :param = value ]).
Members of the base class are inherited.
DelegatingHandler class abstract · extends HttpMessageHandler
System.Net.Http.DelegatingHandler · assembly System.Net.Http
Implements: IDisposable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
InnerHandler | HttpMessageHandler | read, write | o.InnerHandler o.InnerHandler = v |
Members of the base class are inherited.
FormUrlEncodedContent class · extends ByteArrayContent
System.Net.Http.FormUrlEncodedContent · assembly System.Net.Http
Implements: IDisposable
Constructors
new FormUrlEncodedContent(IEnumerable<KeyValuePair<string, string>> nameValueCollection) |
Ring: new FormUrlEncodedContent(args) uses one constructor; the others are chosen by the parameter names: new FormUrlEncodedContent().@New([ :param = value ]) or dnNew("FormUrlEncodedContent",[ :param = value ]).
Members of the base class are inherited.
HttpClient class · extends HttpMessageInvoker
System.Net.Http.HttpClient · assembly System.Net.Http
Implements: IDisposable
Constructors
new HttpClient() |
new HttpClient(HttpMessageHandler handler) |
new HttpClient(HttpMessageHandler handler, bool disposeHandler) |
Ring: new HttpClient(args) uses one constructor; the others are chosen by the parameter names: new HttpClient().@New([ :param = value ]) or dnNew("HttpClient",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
DefaultRequestHeaders | HttpRequestHeaders | read | o.DefaultRequestHeaders |
DefaultRequestVersion | Version | read, write | o.DefaultRequestVersion o.DefaultRequestVersion = v |
DefaultVersionPolicy | HttpVersionPolicy | read, write | o.DefaultVersionPolicy o.DefaultVersionPolicy = v |
BaseAddress | Uri | read, write | o.BaseAddress o.BaseAddress = v |
Timeout | TimeSpan | read, write | o.Timeout o.Timeout = v |
MaxResponseContentBufferSize | long | read, write | o.MaxResponseContentBufferSize o.MaxResponseContentBufferSize = v |
DefaultProxy | IWebProxy | read, write · static | o.DefaultProxy o.DefaultProxy = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CancelPendingRequests | callMethod("CancelPendingRequests",[]) | void CancelPendingRequests() |
DeleteAsync | DeleteAsync(value)DeleteAsync([ :requestUri = … ])DeleteAsync([ :requestUri = …, :cancellationToken = … ]) | Task<HttpResponseMessage> DeleteAsync(string requestUri)Task<HttpResponseMessage> DeleteAsync(Uri requestUri)Task<HttpResponseMessage> DeleteAsync(string requestUri, CancellationToken cancellationToken)Task<HttpResponseMessage> DeleteAsync(Uri requestUri, CancellationToken cancellationToken) |
GetAsync | GetAsync(value)GetAsync([ :requestUri = … ])GetAsync([ :requestUri = …, :completionOption = … ])GetAsync([ :requestUri = …, :cancellationToken = … ])GetAsync([ :requestUri = …, :completionOption = …, :cancellationToken = … ]) | Task<HttpResponseMessage> GetAsync(string requestUri)Task<HttpResponseMessage> GetAsync(Uri requestUri)Task<HttpResponseMessage> GetAsync(string requestUri, HttpCompletionOption completionOption)Task<HttpResponseMessage> GetAsync(Uri requestUri, HttpCompletionOption completionOption)Task<HttpResponseMessage> GetAsync(string requestUri, CancellationToken cancellationToken)Task<HttpResponseMessage> GetAsync(Uri requestUri, CancellationToken cancellationToken)Task<HttpResponseMessage> GetAsync(string requestUri, HttpCompletionOption completionOption, CancellationToken cancellationToken)Task<HttpResponseMessage> GetAsync(Uri requestUri, HttpCompletionOption completionOption, CancellationToken cancellationToken) |
GetByteArrayAsync | GetByteArrayAsync(value)GetByteArrayAsync([ :requestUri = … ])GetByteArrayAsync([ :requestUri = …, :cancellationToken = … ]) | Task<byte[]> GetByteArrayAsync(string requestUri)Task<byte[]> GetByteArrayAsync(Uri requestUri)Task<byte[]> GetByteArrayAsync(string requestUri, CancellationToken cancellationToken)Task<byte[]> GetByteArrayAsync(Uri requestUri, CancellationToken cancellationToken) |
GetStreamAsync | GetStreamAsync(value)GetStreamAsync([ :requestUri = … ])GetStreamAsync([ :requestUri = …, :cancellationToken = … ]) | Task<Stream> GetStreamAsync(string requestUri)Task<Stream> GetStreamAsync(string requestUri, CancellationToken cancellationToken)Task<Stream> GetStreamAsync(Uri requestUri)Task<Stream> GetStreamAsync(Uri requestUri, CancellationToken cancellationToken) |
GetStringAsync | GetStringAsync(value)GetStringAsync([ :requestUri = … ])GetStringAsync([ :requestUri = …, :cancellationToken = … ]) | Task<string> GetStringAsync(string requestUri)Task<string> GetStringAsync(Uri requestUri)Task<string> GetStringAsync(string requestUri, CancellationToken cancellationToken)Task<string> GetStringAsync(Uri requestUri, CancellationToken cancellationToken) |
PatchAsync | PatchAsync([ :requestUri = …, :content = … ])PatchAsync([ :requestUri = …, :content = …, :cancellationToken = … ]) | Task<HttpResponseMessage> PatchAsync(string requestUri, HttpContent content)Task<HttpResponseMessage> PatchAsync(Uri requestUri, HttpContent content)Task<HttpResponseMessage> PatchAsync(string requestUri, HttpContent content, CancellationToken cancellationToken)Task<HttpResponseMessage> PatchAsync(Uri requestUri, HttpContent content, CancellationToken cancellationToken) |
PostAsync | PostAsync([ :requestUri = …, :content = … ])PostAsync([ :requestUri = …, :content = …, :cancellationToken = … ]) | Task<HttpResponseMessage> PostAsync(string requestUri, HttpContent content)Task<HttpResponseMessage> PostAsync(Uri requestUri, HttpContent content)Task<HttpResponseMessage> PostAsync(string requestUri, HttpContent content, CancellationToken cancellationToken)Task<HttpResponseMessage> PostAsync(Uri requestUri, HttpContent content, CancellationToken cancellationToken) |
PutAsync | PutAsync([ :requestUri = …, :content = … ])PutAsync([ :requestUri = …, :content = …, :cancellationToken = … ]) | Task<HttpResponseMessage> PutAsync(string requestUri, HttpContent content)Task<HttpResponseMessage> PutAsync(Uri requestUri, HttpContent content)Task<HttpResponseMessage> PutAsync(string requestUri, HttpContent content, CancellationToken cancellationToken)Task<HttpResponseMessage> PutAsync(Uri requestUri, HttpContent content, CancellationToken cancellationToken) |
Send | Send(value)Send([ :request = … ])Send([ :request = …, :completionOption = … ])Send([ :request = …, :cancellationToken = … ])Send([ :request = …, :completionOption = …, :cancellationToken = … ]) | HttpResponseMessage Send(HttpRequestMessage request)HttpResponseMessage Send(HttpRequestMessage request, HttpCompletionOption completionOption)HttpResponseMessage Send(HttpRequestMessage request, CancellationToken cancellationToken)HttpResponseMessage Send(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken) |
SendAsync | SendAsync(value)SendAsync([ :request = … ])SendAsync([ :request = …, :cancellationToken = … ])SendAsync([ :request = …, :completionOption = … ])SendAsync([ :request = …, :completionOption = …, :cancellationToken = … ]) | Task<HttpResponseMessage> SendAsync(HttpRequestMessage request)Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption)Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken) |
Members of the base class are inherited.
HttpClientHandler class · extends HttpMessageHandler
System.Net.Http.HttpClientHandler · assembly System.Net.Http
Implements: IDisposable
Constructors
new HttpClientHandler() |
Ring: new HttpClientHandler(args) uses one constructor; the others are chosen by the parameter names: new HttpClientHandler().@New([ :param = value ]) or dnNew("HttpClientHandler",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
SupportsAutomaticDecompression | bool | read | o.SupportsAutomaticDecompression |
SupportsProxy | bool | read | o.SupportsProxy |
SupportsRedirectConfiguration | bool | read | o.SupportsRedirectConfiguration |
MeterFactory | IMeterFactory | read, write | o.MeterFactory o.MeterFactory = v |
UseCookies | bool | read, write | o.UseCookies o.UseCookies = v |
CookieContainer | CookieContainer | read, write | o.CookieContainer o.CookieContainer = v |
AutomaticDecompression | DecompressionMethods | read, write | o.AutomaticDecompression o.AutomaticDecompression = v |
UseProxy | bool | read, write | o.UseProxy o.UseProxy = v |
Proxy | IWebProxy | read, write | o.Proxy o.Proxy = v |
DefaultProxyCredentials | ICredentials | read, write | o.DefaultProxyCredentials o.DefaultProxyCredentials = v |
PreAuthenticate | bool | read, write | o.PreAuthenticate o.PreAuthenticate = v |
UseDefaultCredentials | bool | read, write | o.UseDefaultCredentials o.UseDefaultCredentials = v |
Credentials | ICredentials | read, write | o.Credentials o.Credentials = v |
AllowAutoRedirect | bool | read, write | o.AllowAutoRedirect o.AllowAutoRedirect = v |
MaxAutomaticRedirections | int | read, write | o.MaxAutomaticRedirections o.MaxAutomaticRedirections = v |
MaxConnectionsPerServer | int | read, write | o.MaxConnectionsPerServer o.MaxConnectionsPerServer = v |
MaxRequestContentBufferSize | long | read, write | o.MaxRequestContentBufferSize o.MaxRequestContentBufferSize = v |
MaxResponseHeadersLength | int | read, write | o.MaxResponseHeadersLength o.MaxResponseHeadersLength = v |
ClientCertificateOptions | ClientCertificateOption | read, write | o.ClientCertificateOptions o.ClientCertificateOptions = v |
ClientCertificates | X509CertificateCollection | read | o.ClientCertificates |
ServerCertificateCustomValidationCallback | Func<HttpRequestMessage, X509Certificate2, X509Chain, SslPolicyErrors, bool> | read, write | o.ServerCertificateCustomValidationCallback o.ServerCertificateCustomValidationCallback = v |
CheckCertificateRevocationList | bool | read, write | o.CheckCertificateRevocationList o.CheckCertificateRevocationList = v |
SslProtocols | SslProtocols | read, write | o.SslProtocols o.SslProtocols = v |
Properties | IDictionary<string, object> | read | o.Properties |
DangerousAcceptAnyServerCertificateValidator | Func<HttpRequestMessage, X509Certificate2, X509Chain, SslPolicyErrors, bool> | read · static | o.DangerousAcceptAnyServerCertificateValidator |
Members of the base class are inherited.
HttpContent class abstract
System.Net.Http.HttpContent · assembly System.Net.Http
Implements: IDisposable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Headers | HttpContentHeaders | read | o.Headers |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CopyTo | CopyTo(p1,p2,p3) | void CopyTo(Stream stream, TransportContext context, CancellationToken cancellationToken) |
CopyToAsync | CopyToAsync(value)CopyToAsync([ :stream = … ])CopyToAsync([ :stream = …, :cancellationToken = … ])CopyToAsync([ :stream = …, :context = … ])CopyToAsync([ :stream = …, :context = …, :cancellationToken = … ]) | Task CopyToAsync(Stream stream)Task CopyToAsync(Stream stream, CancellationToken cancellationToken)Task CopyToAsync(Stream stream, TransportContext context)Task CopyToAsync(Stream stream, TransportContext context, CancellationToken cancellationToken) |
Dispose | callMethod("Dispose",[]) | void Dispose() |
LoadIntoBufferAsync | LoadIntoBufferAsync(NULL)LoadIntoBufferAsync(value)LoadIntoBufferAsync([ :maxBufferSize = … ])LoadIntoBufferAsync([ :cancellationToken = … ])LoadIntoBufferAsync([ :maxBufferSize = …, :cancellationToken = … ]) | Task LoadIntoBufferAsync()Task LoadIntoBufferAsync(long maxBufferSize)Task LoadIntoBufferAsync(CancellationToken cancellationToken)Task LoadIntoBufferAsync(long maxBufferSize, CancellationToken cancellationToken) |
ReadAsByteArrayAsync | ReadAsByteArrayAsync(NULL)ReadAsByteArrayAsync(value)ReadAsByteArrayAsync([ :cancellationToken = … ]) | Task<byte[]> ReadAsByteArrayAsync()Task<byte[]> ReadAsByteArrayAsync(CancellationToken cancellationToken) |
ReadAsStream | ReadAsStream(NULL)ReadAsStream(value)ReadAsStream([ :cancellationToken = … ]) | Stream ReadAsStream()Stream ReadAsStream(CancellationToken cancellationToken) |
ReadAsStreamAsync | ReadAsStreamAsync(NULL)ReadAsStreamAsync(value)ReadAsStreamAsync([ :cancellationToken = … ]) | Task<Stream> ReadAsStreamAsync()Task<Stream> ReadAsStreamAsync(CancellationToken cancellationToken) |
ReadAsStringAsync | ReadAsStringAsync(NULL)ReadAsStringAsync(value)ReadAsStringAsync([ :cancellationToken = … ]) | Task<string> ReadAsStringAsync()Task<string> ReadAsStringAsync(CancellationToken cancellationToken) |
HttpIOException class · extends IOException
System.Net.Http.HttpIOException · assembly System.Net.Http
Implements: ISerializable
Constructors
new HttpIOException(HttpRequestError httpRequestError, string message = …, Exception innerException = …) |
Ring: new HttpIOException(args) uses one constructor; the others are chosen by the parameter names: new HttpIOException().@New([ :param = value ]) or dnNew("HttpIOException",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
HttpRequestError | HttpRequestError | read | o.HttpRequestError |
Message | string | read | o.getMessage() |
Members of the base class are inherited.
HttpMessageHandler class abstract
System.Net.Http.HttpMessageHandler · assembly System.Net.Http
Implements: IDisposable
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Dispose | callMethod("Dispose",[]) | void Dispose() |
HttpMessageInvoker class
System.Net.Http.HttpMessageInvoker · assembly System.Net.Http
Implements: IDisposable
Constructors
new HttpMessageInvoker(HttpMessageHandler handler) |
new HttpMessageInvoker(HttpMessageHandler handler, bool disposeHandler) |
Ring: new HttpMessageInvoker(args) uses one constructor; the others are chosen by the parameter names: new HttpMessageInvoker().@New([ :param = value ]) or dnNew("HttpMessageInvoker",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Dispose | callMethod("Dispose",[]) | void Dispose() |
Send | callMethod("Send",[p1,p2]) | HttpResponseMessage Send(HttpRequestMessage request, CancellationToken cancellationToken) |
SendAsync | callMethod("SendAsync",[p1,p2]) | Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) |
HttpMethod class
System.Net.Http.HttpMethod · assembly System.Net.Http
Constructors
new HttpMethod(string method) |
Ring: new HttpMethod(args) uses one constructor; the others are chosen by the parameter names: new HttpMethod().@New([ :param = value ]) or dnNew("HttpMethod",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Method | string | read | o.Method |
Get | HttpMethod | read · static | o.getGet() |
Put | HttpMethod | read · static | o.getPut() |
Post | HttpMethod | read · static | o.Post |
Delete | HttpMethod | read · static | o.Delete |
Head | HttpMethod | read · static | o.Head |
Options | HttpMethod | read · static | o.Options |
Trace | HttpMethod | read · static | o.Trace |
Patch | HttpMethod | read · static | o.Patch |
Connect | HttpMethod | read · static | o.Connect |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(HttpMethod other)bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
Parse | Parse(p1) | static HttpMethod Parse(ReadOnlySpan<char> method) |
ToString | callMethod("ToString",[]) | string ToString() |
HttpProtocolException class sealed · extends HttpIOException
System.Net.Http.HttpProtocolException · assembly System.Net.Http
Implements: ISerializable
Constructors
new HttpProtocolException(long errorCode, string message, Exception innerException) |
Ring: new HttpProtocolException(args) uses one constructor; the others are chosen by the parameter names: new HttpProtocolException().@New([ :param = value ]) or dnNew("HttpProtocolException",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ErrorCode | long | read | o.ErrorCode |
Members of the base class are inherited.
HttpRequestException class · extends Exception
System.Net.Http.HttpRequestException · assembly System.Net.Http
Implements: ISerializable
Constructors
new HttpRequestException() |
new HttpRequestException(string message) |
new HttpRequestException(string message, Exception inner) |
new HttpRequestException(string message, Exception inner, HttpStatusCode? statusCode) |
new HttpRequestException(HttpRequestError httpRequestError, string message = …, Exception inner = …, HttpStatusCode? statusCode = …) |
Ring: new HttpRequestException(args) uses one constructor; the others are chosen by the parameter names: new HttpRequestException().@New([ :param = value ]) or dnNew("HttpRequestException",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
HttpRequestError | HttpRequestError | read | o.HttpRequestError |
StatusCode | HttpStatusCode? | read | o.StatusCode |
Members of the base class are inherited.
HttpRequestMessage class
System.Net.Http.HttpRequestMessage · assembly System.Net.Http
Implements: IDisposable
Constructors
new HttpRequestMessage() |
new HttpRequestMessage(HttpMethod method, Uri requestUri) |
new HttpRequestMessage(HttpMethod method, string requestUri) |
Ring: new HttpRequestMessage(args) uses one constructor; the others are chosen by the parameter names: new HttpRequestMessage().@New([ :param = value ]) or dnNew("HttpRequestMessage",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Version | Version | read, write | o.Version o.Version = v |
VersionPolicy | HttpVersionPolicy | read, write | o.VersionPolicy o.VersionPolicy = v |
Content | HttpContent | read, write | o.Content o.Content = v |
Method | HttpMethod | read, write | o.Method o.Method = v |
RequestUri | Uri | read, write | o.RequestUri o.RequestUri = v |
Headers | HttpRequestHeaders | read | o.Headers |
Properties | IDictionary<string, object> | read | o.Properties |
Options | HttpRequestOptions | read | o.Options |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Dispose | callMethod("Dispose",[]) | void Dispose() |
ToString | callMethod("ToString",[]) | string ToString() |
HttpRequestOptions class sealed
System.Net.Http.HttpRequestOptions · assembly System.Net.Http
Implements: IEnumerable
Constructors
new HttpRequestOptions() |
Ring: new HttpRequestOptions(args) uses one constructor; the others are chosen by the parameter names: new HttpRequestOptions().@New([ :param = value ]) or dnNew("HttpRequestOptions",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Set | Set(p1,p2) | void Set<TValue>(HttpRequestOptionsKey<TValue> key, TValue value) |
TryGetValue | TryGetValue(p1) | bool TryGetValue<TValue>(HttpRequestOptionsKey<TValue> key, out TValue value) |
HttpRequestOptionsKey struct
System.Net.Http.HttpRequestOptionsKey`1 · assembly System.Net.Http
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Key | string | read | o.Key |
HttpResponseMessage class
System.Net.Http.HttpResponseMessage · assembly System.Net.Http
Implements: IDisposable
Constructors
new HttpResponseMessage() |
new HttpResponseMessage(HttpStatusCode statusCode) |
Ring: new HttpResponseMessage(args) uses one constructor; the others are chosen by the parameter names: new HttpResponseMessage().@New([ :param = value ]) or dnNew("HttpResponseMessage",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Version | Version | read, write | o.Version o.Version = v |
Content | HttpContent | read, write | o.Content o.Content = v |
StatusCode | HttpStatusCode | read, write | o.StatusCode o.StatusCode = v |
ReasonPhrase | string | read, write | o.ReasonPhrase o.ReasonPhrase = v |
Headers | HttpResponseHeaders | read | o.Headers |
TrailingHeaders | HttpResponseHeaders | read | o.TrailingHeaders |
RequestMessage | HttpRequestMessage | read, write | o.RequestMessage o.RequestMessage = v |
IsSuccessStatusCode | bool | read | o.IsSuccessStatusCode |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Dispose | callMethod("Dispose",[]) | void Dispose() |
EnsureSuccessStatusCode | callMethod("EnsureSuccessStatusCode",[]) | HttpResponseMessage EnsureSuccessStatusCode() |
ToString | callMethod("ToString",[]) | string ToString() |
MessageProcessingHandler class abstract · extends DelegatingHandler
System.Net.Http.MessageProcessingHandler · assembly System.Net.Http
Implements: IDisposable
Members of the base class are inherited.
MultipartContent class · extends HttpContent
System.Net.Http.MultipartContent · assembly System.Net.Http
Implements: IDisposable, IEnumerable
Constructors
new MultipartContent() |
new MultipartContent(string subtype) |
new MultipartContent(string subtype, string boundary) |
Ring: new MultipartContent(args) uses one constructor; the others are chosen by the parameter names: new MultipartContent().@New([ :param = value ]) or dnNew("MultipartContent",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
HeaderEncodingSelector | HeaderEncodingSelector<HttpContent> | read, write | o.HeaderEncodingSelector o.HeaderEncodingSelector = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | Add(p1) | void Add(HttpContent content) |
GetEnumerator | callMethod("GetEnumerator",[]) | IEnumerator<HttpContent> GetEnumerator() |
Members of the base class are inherited.
MultipartFormDataContent class · extends MultipartContent
System.Net.Http.MultipartFormDataContent · assembly System.Net.Http
Implements: IDisposable, IEnumerable
Constructors
new MultipartFormDataContent() |
new MultipartFormDataContent(string boundary) |
Ring: new MultipartFormDataContent(args) uses one constructor; the others are chosen by the parameter names: new MultipartFormDataContent().@New([ :param = value ]) or dnNew("MultipartFormDataContent",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | Add(p1) | void Add(HttpContent content)void Add(HttpContent content, string name)void Add(HttpContent content, string name, string fileName) |
Members of the base class are inherited.
ReadOnlyMemoryContent class sealed · extends HttpContent
System.Net.Http.ReadOnlyMemoryContent · assembly System.Net.Http
Implements: IDisposable
Constructors
new ReadOnlyMemoryContent(ReadOnlyMemory<byte> content) |
Ring: new ReadOnlyMemoryContent(args) uses one constructor; the others are chosen by the parameter names: new ReadOnlyMemoryContent().@New([ :param = value ]) or dnNew("ReadOnlyMemoryContent",[ :param = value ]).
Members of the base class are inherited.
ResponseTask class · extends Task
System.Threading.Tasks.Task`1[[System.Net.Http.HttpResponseMessage, System.Net.Http, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]] · assembly System.Private.CoreLib
Implements: IAsyncResult, IDisposable
Constructors
new ResponseTask(Func<HttpResponseMessage> function) |
new ResponseTask(Func<HttpResponseMessage> function, CancellationToken cancellationToken) |
new ResponseTask(Func<HttpResponseMessage> function, TaskCreationOptions creationOptions) |
new ResponseTask(Func<HttpResponseMessage> function, CancellationToken cancellationToken, TaskCreationOptions creationOptions) |
new ResponseTask(Func<object, HttpResponseMessage> function, object state) |
new ResponseTask(Func<object, HttpResponseMessage> function, object state, CancellationToken cancellationToken) |
new ResponseTask(Func<object, HttpResponseMessage> function, object state, TaskCreationOptions creationOptions) |
new ResponseTask(Func<object, HttpResponseMessage> function, object state, CancellationToken cancellationToken, TaskCreationOptions creationOptions) |
Ring: new ResponseTask(args) uses one constructor; the others are chosen by the parameter names: new ResponseTask().@New([ :param = value ]) or dnNew("ResponseTask",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Result | HttpResponseMessage | read | o.Result |
Factory | TaskFactory<HttpResponseMessage> | read · static | o.getFactory() |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ConfigureAwait | callMethod("ConfigureAwait",[p1]) | ConfiguredTaskAwaitable<HttpResponseMessage> ConfigureAwait(bool continueOnCapturedContext)ConfiguredTaskAwaitable<HttpResponseMessage> ConfigureAwait(ConfigureAwaitOptions options) |
ContinueWith | ContinueWith(value)ContinueWith([ :continuationAction = … ])ContinueWith([ :continuationFunction = … ])ContinueWith([ :continuationAction = …, :cancellationToken = … ])ContinueWith([ :continuationAction = …, :scheduler = … ]) | Task ContinueWith(Action<Task<HttpResponseMessage>> continuationAction)Task ContinueWith(Action<Task<HttpResponseMessage>> continuationAction, CancellationToken cancellationToken)Task ContinueWith(Action<Task<HttpResponseMessage>> continuationAction, TaskScheduler scheduler)Task ContinueWith(Action<Task<HttpResponseMessage>> continuationAction, TaskContinuationOptions continuationOptions)Task ContinueWith(Action<Task<HttpResponseMessage>> continuationAction, CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, TaskScheduler scheduler)Task ContinueWith(Action<Task<HttpResponseMessage>, object> continuationAction, object state)Task ContinueWith(Action<Task<HttpResponseMessage>, object> continuationAction, object state, CancellationToken cancellationToken)Task ContinueWith(Action<Task<HttpResponseMessage>, object> continuationAction, object state, TaskScheduler scheduler)Task ContinueWith(Action<Task<HttpResponseMessage>, object> continuationAction, object state, TaskContinuationOptions continuationOptions)Task ContinueWith(Action<Task<HttpResponseMessage>, object> continuationAction, object state, CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, TaskScheduler scheduler)Task<TNewResult> ContinueWith<TNewResult>(Func<Task<HttpResponseMessage>, TNewResult> continuationFunction)Task<TNewResult> ContinueWith<TNewResult>(Func<Task<HttpResponseMessage>, TNewResult> continuationFunction, CancellationToken cancellationToken)Task<TNewResult> ContinueWith<TNewResult>(Func<Task<HttpResponseMessage>, TNewResult> continuationFunction, TaskScheduler scheduler)Task<TNewResult> ContinueWith<TNewResult>(Func<Task<HttpResponseMessage>, TNewResult> continuationFunction, TaskContinuationOptions continuationOptions)Task<TNewResult> ContinueWith<TNewResult>(Func<Task<HttpResponseMessage>, TNewResult> continuationFunction, CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, TaskScheduler scheduler)Task<TNewResult> ContinueWith<TNewResult>(Func<Task<HttpResponseMessage>, object, TNewResult> continuationFunction, object state)Task<TNewResult> ContinueWith<TNewResult>(Func<Task<HttpResponseMessage>, object, TNewResult> continuationFunction, object state, CancellationToken cancellationToken)Task<TNewResult> ContinueWith<TNewResult>(Func<Task<HttpResponseMessage>, object, TNewResult> continuationFunction, object state, TaskScheduler scheduler)Task<TNewResult> ContinueWith<TNewResult>(Func<Task<HttpResponseMessage>, object, TNewResult> continuationFunction, object state, TaskContinuationOptions continuationOptions)Task<TNewResult> ContinueWith<TNewResult>(Func<Task<HttpResponseMessage>, object, TNewResult> continuationFunction, object state, CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, TaskScheduler scheduler) |
GetAwaiter | callMethod("GetAwaiter",[]) | TaskAwaiter<HttpResponseMessage> GetAwaiter() |
WaitAsync | WaitAsync(value)WaitAsync([ :cancellationToken = … ])WaitAsync([ :timeout = … ])WaitAsync([ :timeout = …, :timeProvider = … ])WaitAsync([ :timeout = …, :cancellationToken = … ]) | Task<HttpResponseMessage> WaitAsync(CancellationToken cancellationToken)Task<HttpResponseMessage> WaitAsync(TimeSpan timeout)Task<HttpResponseMessage> WaitAsync(TimeSpan timeout, TimeProvider timeProvider)Task<HttpResponseMessage> WaitAsync(TimeSpan timeout, CancellationToken cancellationToken)Task<HttpResponseMessage> WaitAsync(TimeSpan timeout, TimeProvider timeProvider, CancellationToken cancellationToken) |
Members of the base class are inherited.
SocketsHttpConnectionContext class sealed
System.Net.Http.SocketsHttpConnectionContext · assembly System.Net.Http
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
DnsEndPoint | DnsEndPoint | read | o.DnsEndPoint |
InitialRequestMessage | HttpRequestMessage | read | o.InitialRequestMessage |
SocketsHttpHandler class sealed · extends HttpMessageHandler
System.Net.Http.SocketsHttpHandler · assembly System.Net.Http
Implements: IDisposable
Constructors
new SocketsHttpHandler() |
Ring: new SocketsHttpHandler(args) uses one constructor; the others are chosen by the parameter names: new SocketsHttpHandler().@New([ :param = value ]) or dnNew("SocketsHttpHandler",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
UseCookies | bool | read, write | o.UseCookies o.UseCookies = v |
CookieContainer | CookieContainer | read, write | o.CookieContainer o.CookieContainer = v |
AutomaticDecompression | DecompressionMethods | read, write | o.AutomaticDecompression o.AutomaticDecompression = v |
UseProxy | bool | read, write | o.UseProxy o.UseProxy = v |
Proxy | IWebProxy | read, write | o.Proxy o.Proxy = v |
DefaultProxyCredentials | ICredentials | read, write | o.DefaultProxyCredentials o.DefaultProxyCredentials = v |
PreAuthenticate | bool | read, write | o.PreAuthenticate o.PreAuthenticate = v |
Credentials | ICredentials | read, write | o.Credentials o.Credentials = v |
AllowAutoRedirect | bool | read, write | o.AllowAutoRedirect o.AllowAutoRedirect = v |
MaxAutomaticRedirections | int | read, write | o.MaxAutomaticRedirections o.MaxAutomaticRedirections = v |
MaxConnectionsPerServer | int | read, write | o.MaxConnectionsPerServer o.MaxConnectionsPerServer = v |
MaxResponseDrainSize | int | read, write | o.MaxResponseDrainSize o.MaxResponseDrainSize = v |
ResponseDrainTimeout | TimeSpan | read, write | o.ResponseDrainTimeout o.ResponseDrainTimeout = v |
MaxResponseHeadersLength | int | read, write | o.MaxResponseHeadersLength o.MaxResponseHeadersLength = v |
SslOptions | SslClientAuthenticationOptions | read, write | o.SslOptions o.SslOptions = v |
PooledConnectionLifetime | TimeSpan | read, write | o.PooledConnectionLifetime o.PooledConnectionLifetime = v |
PooledConnectionIdleTimeout | TimeSpan | read, write | o.PooledConnectionIdleTimeout o.PooledConnectionIdleTimeout = v |
ConnectTimeout | TimeSpan | read, write | o.ConnectTimeout o.ConnectTimeout = v |
Expect100ContinueTimeout | TimeSpan | read, write | o.Expect100ContinueTimeout o.Expect100ContinueTimeout = v |
InitialHttp2StreamWindowSize | int | read, write | o.InitialHttp2StreamWindowSize o.InitialHttp2StreamWindowSize = v |
KeepAlivePingDelay | TimeSpan | read, write | o.KeepAlivePingDelay o.KeepAlivePingDelay = v |
KeepAlivePingTimeout | TimeSpan | read, write | o.KeepAlivePingTimeout o.KeepAlivePingTimeout = v |
KeepAlivePingPolicy | HttpKeepAlivePingPolicy | read, write | o.KeepAlivePingPolicy o.KeepAlivePingPolicy = v |
EnableMultipleHttp2Connections | bool | read, write | o.EnableMultipleHttp2Connections o.EnableMultipleHttp2Connections = v |
EnableMultipleHttp3Connections | bool | read, write | o.EnableMultipleHttp3Connections o.EnableMultipleHttp3Connections = v |
ConnectCallback | Func<SocketsHttpConnectionContext, CancellationToken, ValueTask<Stream>> | read, write | o.ConnectCallback o.ConnectCallback = v |
PlaintextStreamFilter | Func<SocketsHttpPlaintextStreamFilterContext, CancellationToken, ValueTask<Stream>> | read, write | o.PlaintextStreamFilter o.PlaintextStreamFilter = v |
Properties | IDictionary<string, object> | read | o.Properties |
RequestHeaderEncodingSelector | HeaderEncodingSelector<HttpRequestMessage> | read, write | o.RequestHeaderEncodingSelector o.RequestHeaderEncodingSelector = v |
ResponseHeaderEncodingSelector | HeaderEncodingSelector<HttpRequestMessage> | read, write | o.ResponseHeaderEncodingSelector o.ResponseHeaderEncodingSelector = v |
ActivityHeadersPropagator | DistributedContextPropagator | read, write | o.ActivityHeadersPropagator o.ActivityHeadersPropagator = v |
MeterFactory | IMeterFactory | read, write | o.MeterFactory o.MeterFactory = v |
IsSupported | bool | read · static | o.IsSupported |
Members of the base class are inherited.
SocketsHttpPlaintextStreamFilterContext class sealed
System.Net.Http.SocketsHttpPlaintextStreamFilterContext · assembly System.Net.Http
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
PlaintextStream | Stream | read | o.PlaintextStream |
NegotiatedHttpVersion | Version | read | o.NegotiatedHttpVersion |
InitialRequestMessage | HttpRequestMessage | read | o.InitialRequestMessage |
StreamContent class · extends HttpContent
System.Net.Http.StreamContent · assembly System.Net.Http
Implements: IDisposable
Constructors
new StreamContent(Stream content) |
new StreamContent(Stream content, int bufferSize) |
Ring: new StreamContent(args) uses one constructor; the others are chosen by the parameter names: new StreamContent().@New([ :param = value ]) or dnNew("StreamContent",[ :param = value ]).
Members of the base class are inherited.
StringContent class · extends ByteArrayContent
System.Net.Http.StringContent · assembly System.Net.Http
Implements: IDisposable
Constructors
new StringContent(string content) |
new StringContent(string content, MediaTypeHeaderValue mediaType) |
new StringContent(string content, Encoding encoding) |
new StringContent(string content, Encoding encoding, string mediaType) |
new StringContent(string content, Encoding encoding, MediaTypeHeaderValue mediaType) |
Ring: new StringContent(args) uses one constructor; the others are chosen by the parameter names: new StringContent().@New([ :param = value ]) or dnNew("StringContent",[ :param = value ]).
Members of the base class are inherited.