ReverseProxy

Overview

Location

 

constructor

 

constructor

 

ReverseProxy()

 

init()

 

Sub New()

constructor (Action<go.builtin.Reference<go.net.http.Request>>, RoundTripper, Duration, Reference<Logger>, BufferPool, Func<go.builtin.Reference<go.net.http.Response>,go.builtin.error>, Action<go.net.http.ResponseWriter,go.builtin.Reference<go.net.http.Request>,go.builtin.error>)

 

constructor(aDirector: Action<go.builtin.Reference<go.net.http.Request>>; aTransport: RoundTripper; aFlushInterval: Duration; aErrorLog: Reference<Logger>; aBufferPool: BufferPool; aModifyResponse: Func<go.builtin.Reference<go.net.http.Response>,go.builtin.error>; aErrorHandler: Action<go.net.http.ResponseWriter,go.builtin.Reference<go.net.http.Request>,go.builtin.error>)

 

ReverseProxy(Action<go.builtin.Reference<go.net.http.Request>> aDirector, RoundTripper aTransport, Duration aFlushInterval, Reference<Logger> aErrorLog, BufferPool aBufferPool, Func<go.builtin.Reference<go.net.http.Response>,go.builtin.error> aModifyResponse, Action<go.net.http.ResponseWriter,go.builtin.Reference<go.net.http.Request>,go.builtin.error> aErrorHandler)

 

init(_ aDirector: Action<go.builtin.Reference<go.net.http.Request>>, _ aTransport: RoundTripper, _ aFlushInterval: Duration, _ aErrorLog: Reference<Logger>, _ aBufferPool: BufferPool, _ aModifyResponse: Func<go.builtin.Reference<go.net.http.Response>,go.builtin.error>, _ aErrorHandler: Action<go.net.http.ResponseWriter,go.builtin.Reference<go.net.http.Request>,go.builtin.error>)

 

Sub New(aDirector As Action<go.builtin.Reference<go.net.http.Request>>, aTransport As RoundTripper, aFlushInterval As Duration, aErrorLog As Reference<Logger>, aBufferPool As BufferPool, aModifyResponse As Func<go.builtin.Reference<go.net.http.Response>,go.builtin.error>, aErrorHandler As Action<go.net.http.ResponseWriter,go.builtin.Reference<go.net.http.Request>,go.builtin.error>)

Parameters:

  • aDirector:
  • aTransport:
  • aFlushInterval:
  • aErrorLog:
  • aBufferPool:
  • aModifyResponse:
  • aErrorHandler:

constructor (ReverseProxy)

 

constructor(value: ReverseProxy)

 

ReverseProxy(ReverseProxy value)

 

init(_ value: ReverseProxy)

 

Sub New(value As ReverseProxy)

Parameters:

  • value:

BufferPool

 

var BufferPool: BufferPool;

 

BufferPool BufferPool

 

var BufferPool: BufferPool

 

BufferPool BufferPool

 

FIELD BufferPool() As BufferPool

Director

 

var Director: Action<go.builtin.Reference<go.net.http.Request>>;

 

Action<go.builtin.Reference<go.net.http.Request>> Director

 

var Director: Action<go.builtin.Reference<go.net.http.Request>>

 

Director Action<go.builtin.Reference<go.net.http.Request>>

 

FIELD Director() As Action<go.builtin.Reference<go.net.http.Request>>

ErrorHandler

 

var ErrorHandler: Action<go.net.http.ResponseWriter,go.builtin.Reference<go.net.http.Request>,go.builtin.error>;

 

Action<go.net.http.ResponseWriter,go.builtin.Reference<go.net.http.Request>,go.builtin.error> ErrorHandler

 

var ErrorHandler: Action<go.net.http.ResponseWriter,go.builtin.Reference<go.net.http.Request>,go.builtin.error>

 

ErrorHandler Action<go.net.http.ResponseWriter,go.builtin.Reference<go.net.http.Request>,go.builtin.error>

 

FIELD ErrorHandler() As Action<go.net.http.ResponseWriter,go.builtin.Reference<go.net.http.Request>,go.builtin.error>

ErrorLog

 

var ErrorLog: Reference<Logger>;

 

Reference<Logger> ErrorLog

 

var ErrorLog: Reference<Logger>

 

ErrorLog Reference<Logger>

 

FIELD ErrorLog() As Reference<Logger>

FlushInterval

 

var FlushInterval: Duration;

 

Duration FlushInterval

 

var FlushInterval: Duration

 

FlushInterval Duration

 

FIELD FlushInterval() As Duration

ModifyResponse

 

var ModifyResponse: Func<go.builtin.Reference<go.net.http.Response>,go.builtin.error>;

 

Func<go.builtin.Reference<go.net.http.Response>,go.builtin.error> ModifyResponse

 

var ModifyResponse: Func<go.builtin.Reference<go.net.http.Response>,go.builtin.error>

 

ModifyResponse Func<go.builtin.Reference<go.net.http.Response>,go.builtin.error>

 

FIELD ModifyResponse() As Func<go.builtin.Reference<go.net.http.Response>,go.builtin.error>

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

 

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

Parameters:

  • rw:
  • req:

Transport

 

var Transport: RoundTripper;

 

RoundTripper Transport

 

var Transport: RoundTripper

 

Transport RoundTripper

 

FIELD Transport() As RoundTripper

 

BufferPool

 

var BufferPool: BufferPool;

 

BufferPool BufferPool

 

var BufferPool: BufferPool

 

BufferPool BufferPool

 

FIELD BufferPool() As BufferPool

Director

 

var Director: Action<go.builtin.Reference<go.net.http.Request>>;

 

Action<go.builtin.Reference<go.net.http.Request>> Director

 

var Director: Action<go.builtin.Reference<go.net.http.Request>>

 

Director Action<go.builtin.Reference<go.net.http.Request>>

 

FIELD Director() As Action<go.builtin.Reference<go.net.http.Request>>

ErrorHandler

 

var ErrorHandler: Action<go.net.http.ResponseWriter,go.builtin.Reference<go.net.http.Request>,go.builtin.error>;

 

Action<go.net.http.ResponseWriter,go.builtin.Reference<go.net.http.Request>,go.builtin.error> ErrorHandler

 

var ErrorHandler: Action<go.net.http.ResponseWriter,go.builtin.Reference<go.net.http.Request>,go.builtin.error>

 

ErrorHandler Action<go.net.http.ResponseWriter,go.builtin.Reference<go.net.http.Request>,go.builtin.error>

 

FIELD ErrorHandler() As Action<go.net.http.ResponseWriter,go.builtin.Reference<go.net.http.Request>,go.builtin.error>

ErrorLog

 

var ErrorLog: Reference<Logger>;

 

Reference<Logger> ErrorLog

 

var ErrorLog: Reference<Logger>

 

ErrorLog Reference<Logger>

 

FIELD ErrorLog() As Reference<Logger>

FlushInterval

 

var FlushInterval: Duration;

 

Duration FlushInterval

 

var FlushInterval: Duration

 

FlushInterval Duration

 

FIELD FlushInterval() As Duration

ModifyResponse

 

var ModifyResponse: Func<go.builtin.Reference<go.net.http.Response>,go.builtin.error>;

 

Func<go.builtin.Reference<go.net.http.Response>,go.builtin.error> ModifyResponse

 

var ModifyResponse: Func<go.builtin.Reference<go.net.http.Response>,go.builtin.error>

 

ModifyResponse Func<go.builtin.Reference<go.net.http.Response>,go.builtin.error>

 

FIELD ModifyResponse() As Func<go.builtin.Reference<go.net.http.Response>,go.builtin.error>

Transport

 

var Transport: RoundTripper;

 

RoundTripper Transport

 

var Transport: RoundTripper

 

Transport RoundTripper

 

FIELD Transport() As RoundTripper

 

constructor

 

constructor

 

ReverseProxy()

 

init()

 

Sub New()

constructor (Action<go.builtin.Reference<go.net.http.Request>>, RoundTripper, Duration, Reference<Logger>, BufferPool, Func<go.builtin.Reference<go.net.http.Response>,go.builtin.error>, Action<go.net.http.ResponseWriter,go.builtin.Reference<go.net.http.Request>,go.builtin.error>)

 

constructor(aDirector: Action<go.builtin.Reference<go.net.http.Request>>; aTransport: RoundTripper; aFlushInterval: Duration; aErrorLog: Reference<Logger>; aBufferPool: BufferPool; aModifyResponse: Func<go.builtin.Reference<go.net.http.Response>,go.builtin.error>; aErrorHandler: Action<go.net.http.ResponseWriter,go.builtin.Reference<go.net.http.Request>,go.builtin.error>)

 

ReverseProxy(Action<go.builtin.Reference<go.net.http.Request>> aDirector, RoundTripper aTransport, Duration aFlushInterval, Reference<Logger> aErrorLog, BufferPool aBufferPool, Func<go.builtin.Reference<go.net.http.Response>,go.builtin.error> aModifyResponse, Action<go.net.http.ResponseWriter,go.builtin.Reference<go.net.http.Request>,go.builtin.error> aErrorHandler)

 

init(_ aDirector: Action<go.builtin.Reference<go.net.http.Request>>, _ aTransport: RoundTripper, _ aFlushInterval: Duration, _ aErrorLog: Reference<Logger>, _ aBufferPool: BufferPool, _ aModifyResponse: Func<go.builtin.Reference<go.net.http.Response>,go.builtin.error>, _ aErrorHandler: Action<go.net.http.ResponseWriter,go.builtin.Reference<go.net.http.Request>,go.builtin.error>)

 

Sub New(aDirector As Action<go.builtin.Reference<go.net.http.Request>>, aTransport As RoundTripper, aFlushInterval As Duration, aErrorLog As Reference<Logger>, aBufferPool As BufferPool, aModifyResponse As Func<go.builtin.Reference<go.net.http.Response>,go.builtin.error>, aErrorHandler As Action<go.net.http.ResponseWriter,go.builtin.Reference<go.net.http.Request>,go.builtin.error>)

Parameters:

  • aDirector:
  • aTransport:
  • aFlushInterval:
  • aErrorLog:
  • aBufferPool:
  • aModifyResponse:
  • aErrorHandler:

constructor (ReverseProxy)

 

constructor(value: ReverseProxy)

 

ReverseProxy(ReverseProxy value)

 

init(_ value: ReverseProxy)

 

Sub New(value As ReverseProxy)

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

 

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

Parameters:

  • rw:
  • req: