Transport
Overview
Location
-
Reference:
- Go.dll .NET, .NET Standard 2.0
- Go.fx Island
- Namespace: go.net.http
- Platforms: .NET, .NET Standard 2.0, Island
constructor
constructor
Transport()
init()
Sub New()
constructor (Transport)
constructor(value: Transport)
Transport(Transport value)
init(_ value: Transport)
Sub New(value As Transport)
Parameters:
- value:
CancelRequest
// .NET, .NET Standard 2.0
method CancelRequest(req: Memory<Request>)
// Island
method CancelRequest(req: Memory<Request>)
// .NET, .NET Standard 2.0
void CancelRequest(Memory<Request> req)
// Island
void CancelRequest(Memory<Request> req)
// .NET, .NET Standard 2.0
func CancelRequest(_ req: Memory<Request>)
// Island
func CancelRequest(_ req: Memory<Request>)
Parameters:
- req:
Clone
// .NET, .NET Standard 2.0
method Clone: Memory<Transport>
// Island
method Clone: Memory<Transport>
CloseIdleConnections
method CloseIdleConnections
void CloseIdleConnections()
func CloseIdleConnections()
// .NET, .NET Standard 2.0
func CloseIdleConnections()
// Island
func CloseIdleConnections() void
Sub CloseIdleConnections()
Dial
// .NET, .NET Standard 2.0
var Dial: Func<string, string, tuple of (Conn, error)>;
// Island
var Dial: Func<go.builtin.string,go.builtin.string,tuple of (go.net.Conn,go.builtin.error)>;
// .NET, .NET Standard 2.0
Func<string, string, tuple of (Conn, error)> Dial
// Island
Func<go.builtin.string,go.builtin.string,tuple of (go.net.Conn,go.builtin.error)> Dial
// .NET, .NET Standard 2.0
var Dial: Func<string, string, (Conn, error)>
// Island
var Dial: Func<go.builtin.string,go.builtin.string,tuple of (go.net.Conn,go.builtin.error)>
DialContext
// .NET, .NET Standard 2.0
var DialContext: Func<Context, string, string, tuple of (Conn, error)>;
// Island
var DialContext: Func<go.context.Context,go.builtin.string,go.builtin.string,tuple of (go.net.Conn,go.builtin.error)>;
// .NET, .NET Standard 2.0
Func<Context, string, string, tuple of (Conn, error)> DialContext
// Island
Func<go.context.Context,go.builtin.string,go.builtin.string,tuple of (go.net.Conn,go.builtin.error)> DialContext
// .NET, .NET Standard 2.0
var DialContext: Func<Context, string, string, (Conn, error)>
// Island
var DialContext: Func<go.context.Context,go.builtin.string,go.builtin.string,tuple of (go.net.Conn,go.builtin.error)>
DialTLS
// .NET, .NET Standard 2.0
var DialTLS: Func<string, string, tuple of (Conn, error)>;
// Island
var DialTLS: Func<go.builtin.string,go.builtin.string,tuple of (go.net.Conn,go.builtin.error)>;
// .NET, .NET Standard 2.0
Func<string, string, tuple of (Conn, error)> DialTLS
// Island
Func<go.builtin.string,go.builtin.string,tuple of (go.net.Conn,go.builtin.error)> DialTLS
// .NET, .NET Standard 2.0
var DialTLS: Func<string, string, (Conn, error)>
// Island
var DialTLS: Func<go.builtin.string,go.builtin.string,tuple of (go.net.Conn,go.builtin.error)>
DisableCompression
var DisableCompression: bool;
bool DisableCompression
var DisableCompression: bool
DisableCompression bool
FIELD DisableCompression() As bool
DisableKeepAlives
var DisableKeepAlives: bool;
bool DisableKeepAlives
var DisableKeepAlives: bool
DisableKeepAlives bool
FIELD DisableKeepAlives() As bool
ExpectContinueTimeout
var ExpectContinueTimeout: Duration;
Duration ExpectContinueTimeout
var ExpectContinueTimeout: Duration
ExpectContinueTimeout Duration
FIELD ExpectContinueTimeout() As Duration
ForceAttemptHTTP2
var ForceAttemptHTTP2: bool;
bool ForceAttemptHTTP2
var ForceAttemptHTTP2: bool
ForceAttemptHTTP2 bool
FIELD ForceAttemptHTTP2() As bool
IdleConnTimeout
var IdleConnTimeout: Duration;
Duration IdleConnTimeout
var IdleConnTimeout: Duration
IdleConnTimeout Duration
FIELD IdleConnTimeout() As Duration
MaxConnsPerHost
var MaxConnsPerHost: int;
int MaxConnsPerHost
var MaxConnsPerHost: int
MaxConnsPerHost int
FIELD MaxConnsPerHost() As int
MaxIdleConns
var MaxIdleConns: int;
int MaxIdleConns
var MaxIdleConns: int
MaxIdleConns int
FIELD MaxIdleConns() As int
MaxIdleConnsPerHost
var MaxIdleConnsPerHost: int;
int MaxIdleConnsPerHost
var MaxIdleConnsPerHost: int
MaxIdleConnsPerHost int
FIELD MaxIdleConnsPerHost() As int
MaxResponseHeaderBytes
var MaxResponseHeaderBytes: int64;
int64 MaxResponseHeaderBytes
var MaxResponseHeaderBytes: int64
MaxResponseHeaderBytes int64
FIELD MaxResponseHeaderBytes() As int64
Proxy
// .NET, .NET Standard 2.0
var Proxy: Func<Memory<Request>, tuple of (Memory<URL>, error)>;
// Island
var Proxy: Func<RemObjects.Elements.System.Memory<go.net.http.Request>,tuple of (RemObjects.Elements.System.Memory<go.net.url.URL>,go.builtin.error)>;
// .NET, .NET Standard 2.0
Func<Memory<Request>, tuple of (Memory<URL>, error)> Proxy
// Island
Func<RemObjects.Elements.System.Memory<go.net.http.Request>,tuple of (RemObjects.Elements.System.Memory<go.net.url.URL>,go.builtin.error)> Proxy
// .NET, .NET Standard 2.0
var Proxy: Func<Memory<Request>, (Memory<URL>, error)>
// Island
var Proxy: Func<RemObjects.Elements.System.Memory<go.net.http.Request>,tuple of (RemObjects.Elements.System.Memory<go.net.url.URL>,go.builtin.error)>
ProxyConnectHeader
var ProxyConnectHeader: Header;
Header ProxyConnectHeader
var ProxyConnectHeader: Header
ProxyConnectHeader Header
FIELD ProxyConnectHeader() As Header
ReadBufferSize
var ReadBufferSize: int;
int ReadBufferSize
var ReadBufferSize: int
ReadBufferSize int
FIELD ReadBufferSize() As int
RegisterProtocol
method RegisterProtocol(scheme: string; rt: RoundTripper)
void RegisterProtocol(string scheme, RoundTripper rt)
func RegisterProtocol(_ scheme: string, _ rt: RoundTripper)
// .NET, .NET Standard 2.0
func RegisterProtocol(scheme string, rt RoundTripper)
// Island
func RegisterProtocol(scheme string, rt RoundTripper) void
Sub RegisterProtocol(scheme As string, rt As RoundTripper)
Parameters:
- scheme:
- rt:
ResponseHeaderTimeout
var ResponseHeaderTimeout: Duration;
Duration ResponseHeaderTimeout
var ResponseHeaderTimeout: Duration
ResponseHeaderTimeout Duration
FIELD ResponseHeaderTimeout() As Duration
Parameters:
- req:
// .NET, .NET Standard 2.0
method RoundTrip(req: Memory<Request>): tuple of (Memory<Response>, error)
// Island
method RoundTrip(req: Memory<Request>): tuple of (Memory<Response>, error)
// .NET, .NET Standard 2.0
(Memory<Response>, error) RoundTrip(Memory<Request> req)
// Island
(Memory<Response>, error) RoundTrip(Memory<Request> req)
// .NET, .NET Standard 2.0
func RoundTrip(_ req: Memory<Request>) -> (Memory<Response>, error)
// Island
func RoundTrip(_ req: Memory<Request>) -> (Memory<Response>, error)
Parameters:
- req:
TLSClientConfig
// .NET, .NET Standard 2.0
var TLSClientConfig: Memory<Config>;
// Island
var TLSClientConfig: Memory<Config>;
TLSHandshakeTimeout
var TLSHandshakeTimeout: Duration;
Duration TLSHandshakeTimeout
var TLSHandshakeTimeout: Duration
TLSHandshakeTimeout Duration
FIELD TLSHandshakeTimeout() As Duration
TLSNextProto
// .NET, .NET Standard 2.0
var TLSNextProto: Map<string, Func<string, Memory<Conn>, RoundTripper>>;
// Island
var TLSNextProto: Map<string, Func<string, Memory<Conn>, RoundTripper>>;
// .NET, .NET Standard 2.0
Map<string, Func<string, Memory<Conn>, RoundTripper>> TLSNextProto
// Island
Map<string, Func<string, Memory<Conn>, RoundTripper>> TLSNextProto
// .NET, .NET Standard 2.0
var TLSNextProto: Map<string, Func<string, Memory<Conn>, RoundTripper>>
// Island
var TLSNextProto: Map<string, Func<string, Memory<Conn>, RoundTripper>>
WriteBufferSize
Dial
// .NET, .NET Standard 2.0
var Dial: Func<string, string, tuple of (Conn, error)>;
// Island
var Dial: Func<go.builtin.string,go.builtin.string,tuple of (go.net.Conn,go.builtin.error)>;
// .NET, .NET Standard 2.0
Func<string, string, tuple of (Conn, error)> Dial
// Island
Func<go.builtin.string,go.builtin.string,tuple of (go.net.Conn,go.builtin.error)> Dial
// .NET, .NET Standard 2.0
var Dial: Func<string, string, (Conn, error)>
// Island
var Dial: Func<go.builtin.string,go.builtin.string,tuple of (go.net.Conn,go.builtin.error)>
DialContext
// .NET, .NET Standard 2.0
var DialContext: Func<Context, string, string, tuple of (Conn, error)>;
// Island
var DialContext: Func<go.context.Context,go.builtin.string,go.builtin.string,tuple of (go.net.Conn,go.builtin.error)>;
// .NET, .NET Standard 2.0
Func<Context, string, string, tuple of (Conn, error)> DialContext
// Island
Func<go.context.Context,go.builtin.string,go.builtin.string,tuple of (go.net.Conn,go.builtin.error)> DialContext
// .NET, .NET Standard 2.0
var DialContext: Func<Context, string, string, (Conn, error)>
// Island
var DialContext: Func<go.context.Context,go.builtin.string,go.builtin.string,tuple of (go.net.Conn,go.builtin.error)>
DialTLS
// .NET, .NET Standard 2.0
var DialTLS: Func<string, string, tuple of (Conn, error)>;
// Island
var DialTLS: Func<go.builtin.string,go.builtin.string,tuple of (go.net.Conn,go.builtin.error)>;
// .NET, .NET Standard 2.0
Func<string, string, tuple of (Conn, error)> DialTLS
// Island
Func<go.builtin.string,go.builtin.string,tuple of (go.net.Conn,go.builtin.error)> DialTLS
// .NET, .NET Standard 2.0
var DialTLS: Func<string, string, (Conn, error)>
// Island
var DialTLS: Func<go.builtin.string,go.builtin.string,tuple of (go.net.Conn,go.builtin.error)>
DisableCompression
var DisableCompression: bool;
bool DisableCompression
var DisableCompression: bool
DisableCompression bool
FIELD DisableCompression() As bool
DisableKeepAlives
var DisableKeepAlives: bool;
bool DisableKeepAlives
var DisableKeepAlives: bool
DisableKeepAlives bool
FIELD DisableKeepAlives() As bool
ExpectContinueTimeout
var ExpectContinueTimeout: Duration;
Duration ExpectContinueTimeout
var ExpectContinueTimeout: Duration
ExpectContinueTimeout Duration
FIELD ExpectContinueTimeout() As Duration
ForceAttemptHTTP2
var ForceAttemptHTTP2: bool;
bool ForceAttemptHTTP2
var ForceAttemptHTTP2: bool
ForceAttemptHTTP2 bool
FIELD ForceAttemptHTTP2() As bool
IdleConnTimeout
var IdleConnTimeout: Duration;
Duration IdleConnTimeout
var IdleConnTimeout: Duration
IdleConnTimeout Duration
FIELD IdleConnTimeout() As Duration
MaxConnsPerHost
var MaxConnsPerHost: int;
int MaxConnsPerHost
var MaxConnsPerHost: int
MaxConnsPerHost int
FIELD MaxConnsPerHost() As int
MaxIdleConns
var MaxIdleConns: int;
int MaxIdleConns
var MaxIdleConns: int
MaxIdleConns int
FIELD MaxIdleConns() As int
MaxIdleConnsPerHost
var MaxIdleConnsPerHost: int;
int MaxIdleConnsPerHost
var MaxIdleConnsPerHost: int
MaxIdleConnsPerHost int
FIELD MaxIdleConnsPerHost() As int
MaxResponseHeaderBytes
var MaxResponseHeaderBytes: int64;
int64 MaxResponseHeaderBytes
var MaxResponseHeaderBytes: int64
MaxResponseHeaderBytes int64
FIELD MaxResponseHeaderBytes() As int64
Proxy
// .NET, .NET Standard 2.0
var Proxy: Func<Memory<Request>, tuple of (Memory<URL>, error)>;
// Island
var Proxy: Func<RemObjects.Elements.System.Memory<go.net.http.Request>,tuple of (RemObjects.Elements.System.Memory<go.net.url.URL>,go.builtin.error)>;
// .NET, .NET Standard 2.0
Func<Memory<Request>, tuple of (Memory<URL>, error)> Proxy
// Island
Func<RemObjects.Elements.System.Memory<go.net.http.Request>,tuple of (RemObjects.Elements.System.Memory<go.net.url.URL>,go.builtin.error)> Proxy
// .NET, .NET Standard 2.0
var Proxy: Func<Memory<Request>, (Memory<URL>, error)>
// Island
var Proxy: Func<RemObjects.Elements.System.Memory<go.net.http.Request>,tuple of (RemObjects.Elements.System.Memory<go.net.url.URL>,go.builtin.error)>
ProxyConnectHeader
var ProxyConnectHeader: Header;
Header ProxyConnectHeader
var ProxyConnectHeader: Header
ProxyConnectHeader Header
FIELD ProxyConnectHeader() As Header
ReadBufferSize
var ReadBufferSize: int;
int ReadBufferSize
var ReadBufferSize: int
ReadBufferSize int
FIELD ReadBufferSize() As int
ResponseHeaderTimeout
var ResponseHeaderTimeout: Duration;
Duration ResponseHeaderTimeout
var ResponseHeaderTimeout: Duration
ResponseHeaderTimeout Duration
FIELD ResponseHeaderTimeout() As Duration
TLSClientConfig
// .NET, .NET Standard 2.0
var TLSClientConfig: Memory<Config>;
// Island
var TLSClientConfig: Memory<Config>;
TLSHandshakeTimeout
var TLSHandshakeTimeout: Duration;
Duration TLSHandshakeTimeout
var TLSHandshakeTimeout: Duration
TLSHandshakeTimeout Duration
FIELD TLSHandshakeTimeout() As Duration
TLSNextProto
// .NET, .NET Standard 2.0
var TLSNextProto: Map<string, Func<string, Memory<Conn>, RoundTripper>>;
// Island
var TLSNextProto: Map<string, Func<string, Memory<Conn>, RoundTripper>>;
// .NET, .NET Standard 2.0
Map<string, Func<string, Memory<Conn>, RoundTripper>> TLSNextProto
// Island
Map<string, Func<string, Memory<Conn>, RoundTripper>> TLSNextProto
// .NET, .NET Standard 2.0
var TLSNextProto: Map<string, Func<string, Memory<Conn>, RoundTripper>>
// Island
var TLSNextProto: Map<string, Func<string, Memory<Conn>, RoundTripper>>
WriteBufferSize