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
// .NET, .NET Standard 2.0
class method NewRecorder: Memory<ResponseRecorder>
// Island
class method NewRecorder: Memory<ResponseRecorder>
// .NET, .NET Standard 2.0
static Memory<ResponseRecorder> NewRecorder()
// Island
static Memory<ResponseRecorder> NewRecorder()
// .NET, .NET Standard 2.0
static func NewRecorder() -> Memory<ResponseRecorder>
// Island
static func NewRecorder() -> Memory<ResponseRecorder>
// .NET, .NET Standard 2.0
func NewRecorder() Memory<ResponseRecorder>
// Island
func NewRecorder() Memory<ResponseRecorder>
// .NET, .NET Standard 2.0
Shared Function NewRecorder() As Memory<ResponseRecorder>
// Island
Shared Function NewRecorder() As Memory<ResponseRecorder>
NewRequest
// .NET, .NET Standard 2.0
class method NewRequest(method: string; target: string; body: Reader): Memory<Request>
// Island
class method NewRequest(method: string; target: string; body: Reader): Memory<Request>
// .NET, .NET Standard 2.0
static Memory<Request> NewRequest(string method, string target, Reader body)
// Island
static Memory<Request> NewRequest(string method, string target, Reader body)
// .NET, .NET Standard 2.0
static func NewRequest(_ method: string, _ target: string, _ body: Reader) -> Memory<Request>
// Island
static func NewRequest(_ method: string, _ target: string, _ body: Reader) -> Memory<Request>
Parameters:
- method:
- target:
- body:
NewServer
// .NET, .NET Standard 2.0
class method NewServer(handler: Handler): Memory<Server>
// Island
class method NewServer(handler: Handler): Memory<Server>
// .NET, .NET Standard 2.0
static Memory<Server> NewServer(Handler handler)
// Island
static Memory<Server> NewServer(Handler handler)
// .NET, .NET Standard 2.0
static func NewServer(_ handler: Handler) -> Memory<Server>
// Island
static func NewServer(_ handler: Handler) -> Memory<Server>
Parameters:
- handler:
NewTLSServer
// .NET, .NET Standard 2.0
class method NewTLSServer(handler: Handler): Memory<Server>
// Island
class method NewTLSServer(handler: Handler): Memory<Server>
// .NET, .NET Standard 2.0
static Memory<Server> NewTLSServer(Handler handler)
// Island
static Memory<Server> NewTLSServer(Handler handler)
// .NET, .NET Standard 2.0
static func NewTLSServer(_ handler: Handler) -> Memory<Server>
// Island
static func NewTLSServer(_ handler: Handler) -> Memory<Server>
Parameters:
- handler:
NewUnstartedServer
// .NET, .NET Standard 2.0
class method NewUnstartedServer(handler: Handler): Memory<Server>
// Island
class method NewUnstartedServer(handler: Handler): Memory<Server>
// .NET, .NET Standard 2.0
static Memory<Server> NewUnstartedServer(Handler handler)
// Island
static Memory<Server> NewUnstartedServer(Handler handler)
// .NET, .NET Standard 2.0
static func NewUnstartedServer(_ handler: Handler) -> Memory<Server>
// Island
static func NewUnstartedServer(_ handler: Handler) -> Memory<Server>
Parameters:
- handler:
DefaultRemoteAddr
NewRecorder
// .NET, .NET Standard 2.0
class method NewRecorder: Memory<ResponseRecorder>
// Island
class method NewRecorder: Memory<ResponseRecorder>
// .NET, .NET Standard 2.0
static Memory<ResponseRecorder> NewRecorder()
// Island
static Memory<ResponseRecorder> NewRecorder()
// .NET, .NET Standard 2.0
static func NewRecorder() -> Memory<ResponseRecorder>
// Island
static func NewRecorder() -> Memory<ResponseRecorder>
// .NET, .NET Standard 2.0
func NewRecorder() Memory<ResponseRecorder>
// Island
func NewRecorder() Memory<ResponseRecorder>
// .NET, .NET Standard 2.0
Shared Function NewRecorder() As Memory<ResponseRecorder>
// Island
Shared Function NewRecorder() As Memory<ResponseRecorder>
NewRequest
// .NET, .NET Standard 2.0
class method NewRequest(method: string; target: string; body: Reader): Memory<Request>
// Island
class method NewRequest(method: string; target: string; body: Reader): Memory<Request>
// .NET, .NET Standard 2.0
static Memory<Request> NewRequest(string method, string target, Reader body)
// Island
static Memory<Request> NewRequest(string method, string target, Reader body)
// .NET, .NET Standard 2.0
static func NewRequest(_ method: string, _ target: string, _ body: Reader) -> Memory<Request>
// Island
static func NewRequest(_ method: string, _ target: string, _ body: Reader) -> Memory<Request>
Parameters:
- method:
- target:
- body:
NewServer
// .NET, .NET Standard 2.0
class method NewServer(handler: Handler): Memory<Server>
// Island
class method NewServer(handler: Handler): Memory<Server>
// .NET, .NET Standard 2.0
static Memory<Server> NewServer(Handler handler)
// Island
static Memory<Server> NewServer(Handler handler)
// .NET, .NET Standard 2.0
static func NewServer(_ handler: Handler) -> Memory<Server>
// Island
static func NewServer(_ handler: Handler) -> Memory<Server>
Parameters:
- handler:
NewTLSServer
// .NET, .NET Standard 2.0
class method NewTLSServer(handler: Handler): Memory<Server>
// Island
class method NewTLSServer(handler: Handler): Memory<Server>
// .NET, .NET Standard 2.0
static Memory<Server> NewTLSServer(Handler handler)
// Island
static Memory<Server> NewTLSServer(Handler handler)
// .NET, .NET Standard 2.0
static func NewTLSServer(_ handler: Handler) -> Memory<Server>
// Island
static func NewTLSServer(_ handler: Handler) -> Memory<Server>
Parameters:
- handler:
NewUnstartedServer
// .NET, .NET Standard 2.0
class method NewUnstartedServer(handler: Handler): Memory<Server>
// Island
class method NewUnstartedServer(handler: Handler): Memory<Server>
// .NET, .NET Standard 2.0
static Memory<Server> NewUnstartedServer(Handler handler)
// Island
static Memory<Server> NewUnstartedServer(Handler handler)
// .NET, .NET Standard 2.0
static func NewUnstartedServer(_ handler: Handler) -> Memory<Server>
// Island
static func NewUnstartedServer(_ handler: Handler) -> Memory<Server>
Parameters:
- handler: