Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

NSUrlSessionHandler Class

Definition

Namespace:
Foundation
Assembly:
Microsoft.macOS.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

public class NSUrlSessionHandler : System.Net.Http.HttpMessageHandler
type NSUrlSessionHandler = class
 inherit HttpMessageHandler
Inheritance
NSUrlSessionHandler

Constructors

Name Description
NSUrlSessionHandler()
NSUrlSessionHandler(NSUrlSessionConfiguration)

Properties

Name Description
AllowAutoRedirect
AllowsCellularAccess
AutomaticDecompression
BypassBackgroundSessionCheck
CertificateChainPolicy

Gets or sets the custom chain policy to use when validating certificate chains.

CheckCertificateRevocationList

Gets or sets a value that indicates whether the certificate is checked against the certificate authority revocation list.

ClientCertificateOptions
ClientCertificates

Gets the collection of security certificates that are associated with requests to the server.

CookieContainer
Credentials
DefaultProxyCredentials
DisableCaching
MaxAutomaticRedirections
MaxConnectionsPerServer
MaxInputInMemory

The maximum amount of content to load into memory when sending content with a request.

MaxResponseHeadersLength
PreAuthenticate
Properties
Proxy
ServerCertificateCustomValidationCallback
SslProtocols
SupportsAutomaticDecompression
SupportsProxy
SupportsRedirectConfiguration
TrustOverrideForUrl
UseCookies

Enable or disable the use of cookies.

UseProxy

Methods

Name Description
Dispose(Boolean)

Releases the unmanaged resources used by the HttpMessageHandler and optionally disposes of the managed resources.

SendAsync(HttpRequestMessage, CancellationToken)

Applies to