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()

 

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)

Parameters:

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

constructor (Handler)

 

constructor(value: Handler)

 

Handler(Handler value)

 

init(_ value: Handler)

Parameters:

  • value:

Args

 

var Args: Slice<string>;

 

Slice<string> Args

 

var Args: Slice<string>

 

Args Slice<string>

Dir

 

var Dir: string;

 

string Dir

 

var Dir: string

 

Dir string

Env

 

var Env: Slice<string>;

 

Slice<string> Env

 

var Env: Slice<string>

 

Env Slice<string>

InheritEnv

 

var InheritEnv: Slice<string>;

 

Slice<string> InheritEnv

 

var InheritEnv: Slice<string>

 

InheritEnv Slice<string>

Logger

 

var Logger: Reference<Logger>;

 

Reference<Logger> Logger

 

var Logger: Reference<Logger>

 

Logger Reference<Logger>

Path

 

var Path: string;

 

string Path

 

var Path: string

 

Path string

PathLocationHandler

 

var PathLocationHandler: Handler;

 

Handler PathLocationHandler

 

var PathLocationHandler: Handler

 

PathLocationHandler Handler

Root

 

var Root: string;

 

string Root

 

var Root: string

 

Root 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>)

Parameters:

  • rw:
  • req:

Stderr

 

var Stderr: Writer;

 

Writer Stderr

 

var Stderr: Writer

 

Stderr Writer

 

Args

 

var Args: Slice<string>;

 

Slice<string> Args

 

var Args: Slice<string>

 

Args Slice<string>

Dir

 

var Dir: string;

 

string Dir

 

var Dir: string

 

Dir string

Env

 

var Env: Slice<string>;

 

Slice<string> Env

 

var Env: Slice<string>

 

Env Slice<string>

InheritEnv

 

var InheritEnv: Slice<string>;

 

Slice<string> InheritEnv

 

var InheritEnv: Slice<string>

 

InheritEnv Slice<string>

Logger

 

var Logger: Reference<Logger>;

 

Reference<Logger> Logger

 

var Logger: Reference<Logger>

 

Logger Reference<Logger>

Path

 

var Path: string;

 

string Path

 

var Path: string

 

Path string

PathLocationHandler

 

var PathLocationHandler: Handler;

 

Handler PathLocationHandler

 

var PathLocationHandler: Handler

 

PathLocationHandler Handler

Root

 

var Root: string;

 

string Root

 

var Root: string

 

Root string

Stderr

 

var Stderr: Writer;

 

Writer Stderr

 

var Stderr: Writer

 

Stderr Writer

 

constructor

 

constructor

 

Handler()

 

init()

 

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)

Parameters:

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

constructor (Handler)

 

constructor(value: Handler)

 

Handler(Handler value)

 

init(_ value: 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>)

Parameters:

  • rw:
  • req: