Global

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.net.http.httptest
  • Platforms: .NET, .NET Standard 2.0, Island

 

DefaultRemoteAddr

 

const DefaultRemoteAddr: String = "1.2.3.4";

 

const String DefaultRemoteAddr = "1.2.3.4"

 

static let DefaultRemoteAddr: String = "1.2.3.4"

 

const DefaultRemoteAddr String = "1.2.3.4"

 

Dim DefaultRemoteAddr As String = "1.2.3.4"

NewRecorder

 

class method NewRecorder: Reference<ResponseRecorder>

 

static Reference<ResponseRecorder> NewRecorder()

 

static func NewRecorder() -> Reference<ResponseRecorder>

 

func NewRecorder() Reference<ResponseRecorder>

 

Shared Function NewRecorder() As Reference<ResponseRecorder>

NewRequest

 

class method NewRequest(method: string; target: string; body: Reader): Reference<Request>

 

static Reference<Request> NewRequest(string method, string target, Reader body)

 

static func NewRequest(_ method: string, _ target: string, _ body: Reader) -> Reference<Request>

 

func NewRequest(method string, target string, body Reader) Reference<Request>

 

Shared Function NewRequest(method As string, target As string, body As Reader) As Reference<Request>

Parameters:

  • method:
  • target:
  • body:

NewServer

 

class method NewServer(handler: Handler): Reference<Server>

 

static Reference<Server> NewServer(Handler handler)

 

static func NewServer(_ handler: Handler) -> Reference<Server>

 

func NewServer(handler Handler) Reference<Server>

 

Shared Function NewServer(handler As Handler) As Reference<Server>

Parameters:

  • handler:

NewTLSServer

 

class method NewTLSServer(handler: Handler): Reference<Server>

 

static Reference<Server> NewTLSServer(Handler handler)

 

static func NewTLSServer(_ handler: Handler) -> Reference<Server>

 

func NewTLSServer(handler Handler) Reference<Server>

 

Shared Function NewTLSServer(handler As Handler) As Reference<Server>

Parameters:

  • handler:

NewUnstartedServer

 

class method NewUnstartedServer(handler: Handler): Reference<Server>

 

static Reference<Server> NewUnstartedServer(Handler handler)

 

static func NewUnstartedServer(_ handler: Handler) -> Reference<Server>

 

func NewUnstartedServer(handler Handler) Reference<Server>

 

Shared Function NewUnstartedServer(handler As Handler) As Reference<Server>

Parameters:

  • handler:

 

DefaultRemoteAddr

 

const DefaultRemoteAddr: String = "1.2.3.4";

 

const String DefaultRemoteAddr = "1.2.3.4"

 

static let DefaultRemoteAddr: String = "1.2.3.4"

 

const DefaultRemoteAddr String = "1.2.3.4"

 

Dim DefaultRemoteAddr As String = "1.2.3.4"

 

NewRecorder

 

class method NewRecorder: Reference<ResponseRecorder>

 

static Reference<ResponseRecorder> NewRecorder()

 

static func NewRecorder() -> Reference<ResponseRecorder>

 

func NewRecorder() Reference<ResponseRecorder>

 

Shared Function NewRecorder() As Reference<ResponseRecorder>

NewRequest

 

class method NewRequest(method: string; target: string; body: Reader): Reference<Request>

 

static Reference<Request> NewRequest(string method, string target, Reader body)

 

static func NewRequest(_ method: string, _ target: string, _ body: Reader) -> Reference<Request>

 

func NewRequest(method string, target string, body Reader) Reference<Request>

 

Shared Function NewRequest(method As string, target As string, body As Reader) As Reference<Request>

Parameters:

  • method:
  • target:
  • body:

NewServer

 

class method NewServer(handler: Handler): Reference<Server>

 

static Reference<Server> NewServer(Handler handler)

 

static func NewServer(_ handler: Handler) -> Reference<Server>

 

func NewServer(handler Handler) Reference<Server>

 

Shared Function NewServer(handler As Handler) As Reference<Server>

Parameters:

  • handler:

NewTLSServer

 

class method NewTLSServer(handler: Handler): Reference<Server>

 

static Reference<Server> NewTLSServer(Handler handler)

 

static func NewTLSServer(_ handler: Handler) -> Reference<Server>

 

func NewTLSServer(handler Handler) Reference<Server>

 

Shared Function NewTLSServer(handler As Handler) As Reference<Server>

Parameters:

  • handler:

NewUnstartedServer

 

class method NewUnstartedServer(handler: Handler): Reference<Server>

 

static Reference<Server> NewUnstartedServer(Handler handler)

 

static func NewUnstartedServer(_ handler: Handler) -> Reference<Server>

 

func NewUnstartedServer(handler Handler) Reference<Server>

 

Shared Function NewUnstartedServer(handler As Handler) As Reference<Server>

Parameters:

  • handler: