HttpClient

Overview

Location

 

constructor

 

constructor

 

HttpClient()

 

Sub New()

Abort

 

method Abort

 

void Abort()

 

Sub Abort()

Accept

 

property Accept: String read write;

 

String Accept { get; set; }

 

Property Accept() As String

Bearer

 

property Bearer: String read write;

 

String Bearer { get; set; }

 

Property Bearer() As String

BindingV4    (declared in Client)

 

property BindingV4: Binding read;

 

Binding BindingV4 { get; }

 

ReadOnly Property BindingV4() As Binding

BindingV6    (declared in Client)

 

property BindingV6: Binding read;

 

Binding BindingV6 { get; }

 

ReadOnly Property BindingV6() As Binding

Connect    (declared in Client)

 

method Connect: Connection

 

Connection Connect()

 

Function Connect() As Connection

Connect (IPAddress, Int32): Connection    (declared in Client)

 

method Connect(host: IPAddress; port: Int32): Connection

 

Connection Connect(IPAddress host, Int32 port)

 

Function Connect(host As IPAddress, port As Int32) As Connection

Parameters:

  • host:
  • port:

Connect (String, Int32): Connection    (declared in Client)

 

method Connect(hostname: String; port: Int32): Connection

 

Connection Connect(String hostname, Int32 port)

 

Function Connect(hostname As String, port As Int32) As Connection

Parameters:

  • hostname:
  • port:

Connect (IPAddress, Int32, Binding): Connection    (declared in Client)

 

class method Connect(host: IPAddress; port: Int32; binding: Binding): Connection

 

static Connection Connect(IPAddress host, Int32 port, Binding binding)

 

Shared Function Connect(host As IPAddress, port As Int32, binding As Binding) As Connection

Parameters:

  • host:
  • port:
  • binding:

Connect (String, Int32, Binding): Connection    (declared in Client)

 

class method Connect(hostname: String; port: Int32; binding: Binding): Connection

 

static Connection Connect(String hostname, Int32 port, Binding binding)

 

Shared Function Connect(hostname As String, port As Int32, binding As Binding) As Connection

Parameters:

  • hostname:
  • port:
  • binding:

ConnectionClass    (declared in Client)

 

property ConnectionClass: Type read write;

 

Type ConnectionClass { get; set; }

 

Property ConnectionClass() As Type

ConnectionFactory    (declared in Client)

 

property ConnectionFactory: IConnectionFactory read write;

 

IConnectionFactory ConnectionFactory { get; set; }

 

Property ConnectionFactory() As IConnectionFactory

ConnectionPool  protected    (declared in Client)

 

property ConnectionPool: ConnectionPool read write;

 

ConnectionPool ConnectionPool { get; set; }

 

Property ConnectionPool() As ConnectionPool

ConnectNew (IPAddress, Int32): Connection    (declared in Client)

 

method ConnectNew(host: IPAddress; port: Int32): Connection

 

Connection ConnectNew(IPAddress host, Int32 port)

 

Function ConnectNew(host As IPAddress, port As Int32) As Connection

Parameters:

  • host:
  • port:

ConnectNew (String, Int32): Connection    (declared in Client)

 

method ConnectNew(hostname: String; port: Int32): Connection

 

Connection ConnectNew(String hostname, Int32 port)

 

Function ConnectNew(hostname As String, port As Int32) As Connection

Parameters:

  • hostname:
  • port:

Dispatch

 

method Dispatch(request: HttpClientRequest): HttpClientResponse

 

HttpClientResponse Dispatch(HttpClientRequest request)

 

Function Dispatch(request As HttpClientRequest) As HttpClientResponse

Parameters:

  • request:

DnsResolveType    (declared in Client)

 

property DnsResolveType: DnsResolveType read write;

 

DnsResolveType DnsResolveType { get; set; }

 

Property DnsResolveType() As DnsResolveType

EnableNagle    (declared in Client)

 

property EnableNagle: Boolean read write;

 

Boolean EnableNagle { get; set; }

 

Property EnableNagle() As Boolean

Get (String): String

 

method Get(url: String): String

 

String Get(String url)

 

Function Get(url As String) As String

Parameters:

  • url:

Get (String, Encoding): String

 

method Get(url: String; encoding: Encoding): String

 

String Get(String url, Encoding encoding)

 

Function Get(url As String, encoding As Encoding) As String

Parameters:

  • url:
  • encoding:

GetBytes

 

method GetBytes(url: String): array of Byte

 

Byte[] GetBytes(String url)

 

Function GetBytes(url As String) As Byte()

Parameters:

  • url:

GetConnection  protected

 

method GetConnection(host: IPAddress; port: Int32): Connection

 

Connection GetConnection(IPAddress host, Int32 port)

 

Function GetConnection(host As IPAddress, port As Int32) As Connection

Parameters:

  • host:
  • port:

GetDefaultConnectionPool  protected    (declared in Client)

 

method GetDefaultConnectionPool: ConnectionPool

 

ConnectionPool GetDefaultConnectionPool()

 

Function GetDefaultConnectionPool() As ConnectionPool

GetResponse

 

method GetResponse(url: String): HttpClientResponse

 

HttpClientResponse GetResponse(String url)

 

Function GetResponse(url As String) As HttpClientResponse

Parameters:

  • url:

HostAddress    (declared in Client)

 

property HostAddress: IPAddress read write;

 

IPAddress HostAddress { get; set; }

 

Property HostAddress() As IPAddress

HostName    (declared in Client)

 

property HostName: String read write;

 

String HostName { get; set; }

 

Property HostName() As String

KeepAlive

 

property KeepAlive: Boolean read write;

 

Boolean KeepAlive { get; set; }

 

Property KeepAlive() As Boolean

NewConnection  protected

 

method NewConnection(binding: Binding): Connection

 

Connection NewConnection(Binding binding)

 

Function NewConnection(binding As Binding) As Connection

Parameters:

  • binding:

OnResolvedHostName    (declared in Client)

 

event OnResolvedHostName: EventHandler<ResolvedHostNameEventArgs>;

 

delegate EventHandler<ResolvedHostNameEventArgs> OnResolvedHostName()

 

Event OnResolvedHostName As EventHandler<ResolvedHostNameEventArgs>

OnResolveHostName    (declared in Client)

 

event OnResolveHostName: EventHandler<ResolveHostNameEventArgs>;

 

delegate EventHandler<ResolveHostNameEventArgs> OnResolveHostName()

 

Event OnResolveHostName As EventHandler<ResolveHostNameEventArgs>

Password

 

property Password: String read write;

 

String Password { get; set; }

 

Property Password() As String

Port    (declared in Client)

 

property Port: Int32 read write;

 

Int32 Port { get; set; }

 

Property Port() As Int32

Post (String, array of Byte): String

 

method Post(url: String; content: array of Byte): String

 

String Post(String url, Byte[] content)

 

Function Post(url As String, content As Byte()) As String

Parameters:

  • url:
  • content:

Post (String, Stream): String

 

method Post(url: String; content: Stream): String

 

String Post(String url, Stream content)

 

Function Post(url As String, content As Stream) As String

Parameters:

  • url:
  • content:

ProxySettings

 

property ProxySettings: HttpProxySettings read;

 

HttpProxySettings ProxySettings { get; }

 

ReadOnly Property ProxySettings() As HttpProxySettings

ReleaseConnection  protected    (declared in Client)

 

method ReleaseConnection(connection: Connection)

 

void ReleaseConnection(Connection connection)

 

Sub ReleaseConnection(connection As Connection)

Parameters:

  • connection:

ResolveHostName  protected    (declared in Client)

 

method ResolveHostName

 

void ResolveHostName()

 

Sub ResolveHostName()

ResolveHostNameIfNeeded  protected    (declared in Client)

 

method ResolveHostNameIfNeeded

 

void ResolveHostNameIfNeeded()

 

Sub ResolveHostNameIfNeeded()

SslOptions    (declared in Client)

 

property SslOptions: SslConnectionFactory read write;

 

SslConnectionFactory SslOptions { get; set; }

 

Property SslOptions() As SslConnectionFactory

Timeout

 

property Timeout: Int32 read write;

 

Int32 Timeout { get; set; }

 

Property Timeout() As Int32

TimeoutEnabled

 

property TimeoutEnabled: Boolean read write;

 

Boolean TimeoutEnabled { get; set; }

 

Property TimeoutEnabled() As Boolean

TriggerOnResolvedHostName  protected    (declared in Client)

 

method TriggerOnResolvedHostName(e: ResolvedHostNameEventArgs)

 

void TriggerOnResolvedHostName(ResolvedHostNameEventArgs e)

 

Sub TriggerOnResolvedHostName(e As ResolvedHostNameEventArgs)

Parameters:

  • e:

TriggerOnResolveHostName  protected    (declared in Client)

 

method TriggerOnResolveHostName(e: ResolveHostNameEventArgs)

 

void TriggerOnResolveHostName(ResolveHostNameEventArgs e)

 

Sub TriggerOnResolveHostName(e As ResolveHostNameEventArgs)

Parameters:

  • e:

TryDispatch

 

method TryDispatch(request: HttpClientRequest): HttpClientResponse

 

HttpClientResponse TryDispatch(HttpClientRequest request)

 

Function TryDispatch(request As HttpClientRequest) As HttpClientResponse

Parameters:

  • request:

UseConnectionPooling

 

property UseConnectionPooling: Boolean read write;

 

Boolean UseConnectionPooling { get; set; }

 

Property UseConnectionPooling() As Boolean

UserAgent

 

property UserAgent: String read write;

 

String UserAgent { get; set; }

 

Property UserAgent() As String

UserName

 

property UserName: String read write;

 

String UserName { get; set; }

 

Property UserName() As String

Version

 

property Version: String read write;

 

String Version { get; set; }

 

Property Version() As String

 

Accept

 

property Accept: String read write;

 

String Accept { get; set; }

 

Property Accept() As String

Bearer

 

property Bearer: String read write;

 

String Bearer { get; set; }

 

Property Bearer() As String

BindingV4    (declared in Client)

 

property BindingV4: Binding read;

 

Binding BindingV4 { get; }

 

ReadOnly Property BindingV4() As Binding

BindingV6    (declared in Client)

 

property BindingV6: Binding read;

 

Binding BindingV6 { get; }

 

ReadOnly Property BindingV6() As Binding

ConnectionClass    (declared in Client)

 

property ConnectionClass: Type read write;

 

Type ConnectionClass { get; set; }

 

Property ConnectionClass() As Type

ConnectionFactory    (declared in Client)

 

property ConnectionFactory: IConnectionFactory read write;

 

IConnectionFactory ConnectionFactory { get; set; }

 

Property ConnectionFactory() As IConnectionFactory

ConnectionPool  protected    (declared in Client)

 

property ConnectionPool: ConnectionPool read write;

 

ConnectionPool ConnectionPool { get; set; }

 

Property ConnectionPool() As ConnectionPool

DnsResolveType    (declared in Client)

 

property DnsResolveType: DnsResolveType read write;

 

DnsResolveType DnsResolveType { get; set; }

 

Property DnsResolveType() As DnsResolveType

EnableNagle    (declared in Client)

 

property EnableNagle: Boolean read write;

 

Boolean EnableNagle { get; set; }

 

Property EnableNagle() As Boolean

HostAddress    (declared in Client)

 

property HostAddress: IPAddress read write;

 

IPAddress HostAddress { get; set; }

 

Property HostAddress() As IPAddress

HostName    (declared in Client)

 

property HostName: String read write;

 

String HostName { get; set; }

 

Property HostName() As String

KeepAlive

 

property KeepAlive: Boolean read write;

 

Boolean KeepAlive { get; set; }

 

Property KeepAlive() As Boolean

Password

 

property Password: String read write;

 

String Password { get; set; }

 

Property Password() As String

Port    (declared in Client)

 

property Port: Int32 read write;

 

Int32 Port { get; set; }

 

Property Port() As Int32

ProxySettings

 

property ProxySettings: HttpProxySettings read;

 

HttpProxySettings ProxySettings { get; }

 

ReadOnly Property ProxySettings() As HttpProxySettings

SslOptions    (declared in Client)

 

property SslOptions: SslConnectionFactory read write;

 

SslConnectionFactory SslOptions { get; set; }

 

Property SslOptions() As SslConnectionFactory

Timeout

 

property Timeout: Int32 read write;

 

Int32 Timeout { get; set; }

 

Property Timeout() As Int32

TimeoutEnabled

 

property TimeoutEnabled: Boolean read write;

 

Boolean TimeoutEnabled { get; set; }

 

Property TimeoutEnabled() As Boolean

UseConnectionPooling

 

property UseConnectionPooling: Boolean read write;

 

Boolean UseConnectionPooling { get; set; }

 

Property UseConnectionPooling() As Boolean

UserAgent

 

property UserAgent: String read write;

 

String UserAgent { get; set; }

 

Property UserAgent() As String

UserName

 

property UserName: String read write;

 

String UserName { get; set; }

 

Property UserName() As String

Version

 

property Version: String read write;

 

String Version { get; set; }

 

Property Version() As String

 

Connect (IPAddress, Int32, Binding): Connection    (declared in Client)

 

class method Connect(host: IPAddress; port: Int32; binding: Binding): Connection

 

static Connection Connect(IPAddress host, Int32 port, Binding binding)

 

Shared Function Connect(host As IPAddress, port As Int32, binding As Binding) As Connection

Parameters:

  • host:
  • port:
  • binding:

Connect (String, Int32, Binding): Connection    (declared in Client)

 

class method Connect(hostname: String; port: Int32; binding: Binding): Connection

 

static Connection Connect(String hostname, Int32 port, Binding binding)

 

Shared Function Connect(hostname As String, port As Int32, binding As Binding) As Connection

Parameters:

  • hostname:
  • port:
  • binding:

 

constructor

 

constructor

 

HttpClient()

 

Sub New()

Abort

 

method Abort

 

void Abort()

 

Sub Abort()

Connect    (declared in Client)

 

method Connect: Connection

 

Connection Connect()

 

Function Connect() As Connection

Connect (IPAddress, Int32): Connection    (declared in Client)

 

method Connect(host: IPAddress; port: Int32): Connection

 

Connection Connect(IPAddress host, Int32 port)

 

Function Connect(host As IPAddress, port As Int32) As Connection

Parameters:

  • host:
  • port:

Connect (String, Int32): Connection    (declared in Client)

 

method Connect(hostname: String; port: Int32): Connection

 

Connection Connect(String hostname, Int32 port)

 

Function Connect(hostname As String, port As Int32) As Connection

Parameters:

  • hostname:
  • port:

ConnectNew (IPAddress, Int32): Connection    (declared in Client)

 

method ConnectNew(host: IPAddress; port: Int32): Connection

 

Connection ConnectNew(IPAddress host, Int32 port)

 

Function ConnectNew(host As IPAddress, port As Int32) As Connection

Parameters:

  • host:
  • port:

ConnectNew (String, Int32): Connection    (declared in Client)

 

method ConnectNew(hostname: String; port: Int32): Connection

 

Connection ConnectNew(String hostname, Int32 port)

 

Function ConnectNew(hostname As String, port As Int32) As Connection

Parameters:

  • hostname:
  • port:

Dispatch

 

method Dispatch(request: HttpClientRequest): HttpClientResponse

 

HttpClientResponse Dispatch(HttpClientRequest request)

 

Function Dispatch(request As HttpClientRequest) As HttpClientResponse

Parameters:

  • request:

Get (String): String

 

method Get(url: String): String

 

String Get(String url)

 

Function Get(url As String) As String

Parameters:

  • url:

Get (String, Encoding): String

 

method Get(url: String; encoding: Encoding): String

 

String Get(String url, Encoding encoding)

 

Function Get(url As String, encoding As Encoding) As String

Parameters:

  • url:
  • encoding:

GetBytes

 

method GetBytes(url: String): array of Byte

 

Byte[] GetBytes(String url)

 

Function GetBytes(url As String) As Byte()

Parameters:

  • url:

GetConnection  protected

 

method GetConnection(host: IPAddress; port: Int32): Connection

 

Connection GetConnection(IPAddress host, Int32 port)

 

Function GetConnection(host As IPAddress, port As Int32) As Connection

Parameters:

  • host:
  • port:

GetDefaultConnectionPool  protected    (declared in Client)

 

method GetDefaultConnectionPool: ConnectionPool

 

ConnectionPool GetDefaultConnectionPool()

 

Function GetDefaultConnectionPool() As ConnectionPool

GetResponse

 

method GetResponse(url: String): HttpClientResponse

 

HttpClientResponse GetResponse(String url)

 

Function GetResponse(url As String) As HttpClientResponse

Parameters:

  • url:

NewConnection  protected

 

method NewConnection(binding: Binding): Connection

 

Connection NewConnection(Binding binding)

 

Function NewConnection(binding As Binding) As Connection

Parameters:

  • binding:

Post (String, array of Byte): String

 

method Post(url: String; content: array of Byte): String

 

String Post(String url, Byte[] content)

 

Function Post(url As String, content As Byte()) As String

Parameters:

  • url:
  • content:

Post (String, Stream): String

 

method Post(url: String; content: Stream): String

 

String Post(String url, Stream content)

 

Function Post(url As String, content As Stream) As String

Parameters:

  • url:
  • content:

ReleaseConnection  protected    (declared in Client)

 

method ReleaseConnection(connection: Connection)

 

void ReleaseConnection(Connection connection)

 

Sub ReleaseConnection(connection As Connection)

Parameters:

  • connection:

ResolveHostName  protected    (declared in Client)

 

method ResolveHostName

 

void ResolveHostName()

 

Sub ResolveHostName()

ResolveHostNameIfNeeded  protected    (declared in Client)

 

method ResolveHostNameIfNeeded

 

void ResolveHostNameIfNeeded()

 

Sub ResolveHostNameIfNeeded()

TriggerOnResolvedHostName  protected    (declared in Client)

 

method TriggerOnResolvedHostName(e: ResolvedHostNameEventArgs)

 

void TriggerOnResolvedHostName(ResolvedHostNameEventArgs e)

 

Sub TriggerOnResolvedHostName(e As ResolvedHostNameEventArgs)

Parameters:

  • e:

TriggerOnResolveHostName  protected    (declared in Client)

 

method TriggerOnResolveHostName(e: ResolveHostNameEventArgs)

 

void TriggerOnResolveHostName(ResolveHostNameEventArgs e)

 

Sub TriggerOnResolveHostName(e As ResolveHostNameEventArgs)

Parameters:

  • e:

TryDispatch

 

method TryDispatch(request: HttpClientRequest): HttpClientResponse

 

HttpClientResponse TryDispatch(HttpClientRequest request)

 

Function TryDispatch(request As HttpClientRequest) As HttpClientResponse

Parameters:

  • request:

 

OnResolvedHostName    (declared in Client)

 

event OnResolvedHostName: EventHandler<ResolvedHostNameEventArgs>;

 

delegate EventHandler<ResolvedHostNameEventArgs> OnResolvedHostName()

 

Event OnResolvedHostName As EventHandler<ResolvedHostNameEventArgs>

OnResolveHostName    (declared in Client)

 

event OnResolveHostName: EventHandler<ResolveHostNameEventArgs>;

 

delegate EventHandler<ResolveHostNameEventArgs> OnResolveHostName()

 

Event OnResolveHostName As EventHandler<ResolveHostNameEventArgs>