Transport Extension

Location

  • Reference: Go.dll
  • Namespace: go.net.http
  • Extends: Transport
  • Platforms: .NET, .NET Standard 2.0

Instance Methods


CancelRequest

 

method CancelRequest(req: Reference<Request>)

 

void CancelRequest(Reference<Request> req)

 

func CancelRequest(_ req: Reference<Request>)

 

func CancelRequest(req Reference<Request>)

 

Sub CancelRequest(req As Reference<Request>)

Parameters:

  • req:

Clone

 

method Clone: Reference<Transport>

 

Reference<Transport> Clone()

 

func Clone() -> Reference<Transport>

 

func Clone() Reference<Transport>

 

Function Clone() As Reference<Transport>

CloseIdleConnections

 

method CloseIdleConnections

 

void CloseIdleConnections()

 

func CloseIdleConnections()

 

func CloseIdleConnections()

 

Sub CloseIdleConnections()

RegisterProtocol

 

method RegisterProtocol(scheme: string; rt: RoundTripper)

 

void RegisterProtocol(string scheme, RoundTripper rt)

 

func RegisterProtocol(_ scheme: string, _ rt: RoundTripper)

 

func RegisterProtocol(scheme string, rt RoundTripper)

 

Sub RegisterProtocol(scheme As string, rt As RoundTripper)

Parameters:

  • scheme:
  • rt:

RoundTrip

 

method RoundTrip(req: Reference<Request>): tuple of (Response, error)

 

(Response, error) RoundTrip(Reference<Request> req)

 

func RoundTrip(_ req: Reference<Request>) -> (Response, error)

 

func RoundTrip(req Reference<Request>) (Response, error)

 

Function RoundTrip(req As Reference<Request>) As Tuple (Of Response, error)

Parameters:

  • req: