C# Class ModernHttpClient.NativeMessageHandler

Inheritance: System.Net.Http.HttpMessageHandler
显示文件 Open project: fpt-software/Wordpress-Client Class Usage Examples

Public Methods

Method Description
NativeMessageHandler ( ) : System
NativeMessageHandler ( bool throwOnCaptiveNetwork, bool customSSLVerification, NativeCookieHandler cookieHandler = null ) : System
RegisterForProgress ( HttpRequestMessage request, ProgressDelegate callback ) : void

Protected Methods

Method Description
SendAsync ( HttpRequestMessage request, CancellationToken cancellationToken ) : Task

Private Methods

Method Description
getAndRemoveCallbackFromRegister ( HttpRequestMessage request ) : ProgressDelegate
getHeaderSeparator ( string name ) : string

Method Details

NativeMessageHandler() public method

public NativeMessageHandler ( ) : System
return System

NativeMessageHandler() public method

public NativeMessageHandler ( bool throwOnCaptiveNetwork, bool customSSLVerification, NativeCookieHandler cookieHandler = null ) : System
throwOnCaptiveNetwork bool
customSSLVerification bool
cookieHandler NativeCookieHandler
return System

RegisterForProgress() public method

public RegisterForProgress ( HttpRequestMessage request, ProgressDelegate callback ) : void
request System.Net.Http.HttpRequestMessage
callback ProgressDelegate
return void

SendAsync() protected method

protected SendAsync ( HttpRequestMessage request, CancellationToken cancellationToken ) : Task
request System.Net.Http.HttpRequestMessage
cancellationToken System.Threading.CancellationToken
return Task