Handler

Overview

Location

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

 

constructor

 

constructor

 

Handler()

 

init()

 

Sub New()

constructor (Handler) .NET, .NET Standard 2.0

 

constructor(value: Handler)

 

Handler(Handler value)

 

init(_ value: Handler)

 

Sub New(value As Handler)

Parameters:

  • value:

 

constructor(aPath: string; aRoot: string; aDir: string; aEnv: Slice<string>; aInheritEnv: Slice<string>; aLogger: Reference<Logger>; aArgs: Slice<string>; aStderr: Writer; aPathLocationHandler: Handler)

 

Handler(string aPath, string aRoot, string aDir, Slice<string> aEnv, Slice<string> aInheritEnv, Reference<Logger> aLogger, Slice<string> aArgs, Writer aStderr, Handler aPathLocationHandler)

 

init(_ aPath: string, _ aRoot: string, _ aDir: string, _ aEnv: Slice<string>, _ aInheritEnv: Slice<string>, _ aLogger: Reference<Logger>, _ aArgs: Slice<string>, _ aStderr: Writer, _ aPathLocationHandler: Handler)

 

Sub New(aPath As string, aRoot As string, aDir As string, aEnv As Slice<string>, aInheritEnv As Slice<string>, aLogger As Reference<Logger>, aArgs As Slice<string>, aStderr As Writer, aPathLocationHandler As Handler)

Parameters:

  • aPath:
  • aRoot:
  • aDir:
  • aEnv:
  • aInheritEnv:
  • aLogger:
  • aArgs:
  • aStderr:
  • aPathLocationHandler:

constructor (Handler) Island

 

constructor(value: Handler)

 

Handler(Handler value)

 

init(_ value: Handler)

 

Sub New(value As Handler)

Parameters:

  • value:

Args

 

var Args: Slice<string>;

 

Slice<string> Args

 

var Args: Slice<string>

 

Args Slice<string>

 

FIELD Args() As Slice<string>

Dir

 

var Dir: string;

 

string Dir

 

var Dir: string

 

Dir string

 

FIELD Dir() As string

Env

 

var Env: Slice<string>;

 

Slice<string> Env

 

var Env: Slice<string>

 

Env Slice<string>

 

FIELD Env() As Slice<string>

InheritEnv

 

var InheritEnv: Slice<string>;

 

Slice<string> InheritEnv

 

var InheritEnv: Slice<string>

 

InheritEnv Slice<string>

 

FIELD InheritEnv() As Slice<string>

Logger

 

var Logger: Reference<Logger>;

 

Reference<Logger> Logger

 

var Logger: Reference<Logger>

 

Logger Reference<Logger>

 

FIELD Logger() As Reference<Logger>

Path

 

var Path: string;

 

string Path

 

var Path: string

 

Path string

 

FIELD Path() As string

PathLocationHandler

 

var PathLocationHandler: Handler;

 

Handler PathLocationHandler

 

var PathLocationHandler: Handler

 

PathLocationHandler Handler

 

FIELD PathLocationHandler() As Handler

Root

 

var Root: string;

 

string Root

 

var Root: string

 

Root string

 

FIELD Root() As string

ServeHTTP

 

method ServeHTTP(rw: ResponseWriter; req: Reference<Request>)

 

void ServeHTTP(ResponseWriter rw, Reference<Request> req)

 

func ServeHTTP(_ rw: ResponseWriter, _ req: Reference<Request>)

 

func ServeHTTP(rw ResponseWriter, req Reference<Request>)

 

Sub ServeHTTP(rw As ResponseWriter, req As Reference<Request>)

Parameters:

  • rw:
  • req:

Stderr

 

var Stderr: Writer;

 

Writer Stderr

 

var Stderr: Writer

 

Stderr Writer

 

FIELD Stderr() As Writer

 

Args

 

var Args: Slice<string>;

 

Slice<string> Args

 

var Args: Slice<string>

 

Args Slice<string>

 

FIELD Args() As Slice<string>

Dir

 

var Dir: string;

 

string Dir

 

var Dir: string

 

Dir string

 

FIELD Dir() As string

Env

 

var Env: Slice<string>;

 

Slice<string> Env

 

var Env: Slice<string>

 

Env Slice<string>

 

FIELD Env() As Slice<string>

InheritEnv

 

var InheritEnv: Slice<string>;

 

Slice<string> InheritEnv

 

var InheritEnv: Slice<string>

 

InheritEnv Slice<string>

 

FIELD InheritEnv() As Slice<string>

Logger

 

var Logger: Reference<Logger>;

 

Reference<Logger> Logger

 

var Logger: Reference<Logger>

 

Logger Reference<Logger>

 

FIELD Logger() As Reference<Logger>

Path

 

var Path: string;

 

string Path

 

var Path: string

 

Path string

 

FIELD Path() As string

PathLocationHandler

 

var PathLocationHandler: Handler;

 

Handler PathLocationHandler

 

var PathLocationHandler: Handler

 

PathLocationHandler Handler

 

FIELD PathLocationHandler() As Handler

Root

 

var Root: string;

 

string Root

 

var Root: string

 

Root string

 

FIELD Root() As string

Stderr

 

var Stderr: Writer;

 

Writer Stderr

 

var Stderr: Writer

 

Stderr Writer

 

FIELD Stderr() As Writer

 

constructor

 

constructor

 

Handler()

 

init()

 

Sub New()

constructor (Handler) .NET, .NET Standard 2.0

 

constructor(value: Handler)

 

Handler(Handler value)

 

init(_ value: Handler)

 

Sub New(value As Handler)

Parameters:

  • value:

 

constructor(aPath: string; aRoot: string; aDir: string; aEnv: Slice<string>; aInheritEnv: Slice<string>; aLogger: Reference<Logger>; aArgs: Slice<string>; aStderr: Writer; aPathLocationHandler: Handler)

 

Handler(string aPath, string aRoot, string aDir, Slice<string> aEnv, Slice<string> aInheritEnv, Reference<Logger> aLogger, Slice<string> aArgs, Writer aStderr, Handler aPathLocationHandler)

 

init(_ aPath: string, _ aRoot: string, _ aDir: string, _ aEnv: Slice<string>, _ aInheritEnv: Slice<string>, _ aLogger: Reference<Logger>, _ aArgs: Slice<string>, _ aStderr: Writer, _ aPathLocationHandler: Handler)

 

Sub New(aPath As string, aRoot As string, aDir As string, aEnv As Slice<string>, aInheritEnv As Slice<string>, aLogger As Reference<Logger>, aArgs As Slice<string>, aStderr As Writer, aPathLocationHandler As Handler)

Parameters:

  • aPath:
  • aRoot:
  • aDir:
  • aEnv:
  • aInheritEnv:
  • aLogger:
  • aArgs:
  • aStderr:
  • aPathLocationHandler:

constructor (Handler) Island

 

constructor(value: Handler)

 

Handler(Handler value)

 

init(_ value: Handler)

 

Sub New(value As Handler)

Parameters:

  • value:

ServeHTTP

 

method ServeHTTP(rw: ResponseWriter; req: Reference<Request>)

 

void ServeHTTP(ResponseWriter rw, Reference<Request> req)

 

func ServeHTTP(_ rw: ResponseWriter, _ req: Reference<Request>)

 

func ServeHTTP(rw ResponseWriter, req Reference<Request>)

 

Sub ServeHTTP(rw As ResponseWriter, req As Reference<Request>)

Parameters:

  • rw:
  • req: