ServeMux

Overview

Location

  • Reference: Go.fx
  • Namespace: go.net.http
  • Platforms: Island


Instance Methods


constructor

 

constructor

 

ServeMux()

 

init()

 

Sub New()

constructor (ServeMux)

 

constructor(value: ServeMux)

 

ServeMux(ServeMux value)

 

init(_ value: ServeMux)

 

Sub New(value As ServeMux)

Parameters:

  • value:

ServeHTTP (ResponseWriter, Memory<Request>)

 

method ServeHTTP(w: ResponseWriter; r: Memory<Request>)

 

void ServeHTTP(ResponseWriter w, Memory<Request> r)

 

func ServeHTTP(_ w: ResponseWriter, _ r: Memory<Request>)

 

func ServeHTTP(w ResponseWriter, r Memory<Request>) void

 

Sub ServeHTTP(w As ResponseWriter, r As Memory<Request>)

Parameters:

  • w:
  • r:

Handle

 

method Handle(pattern: string; handler: Handler)

 

void Handle(string pattern, Handler handler)

 

func Handle(_ pattern: string, _ handler: Handler)

 

func Handle(pattern string, handler Handler) void

 

Sub Handle(pattern As string, handler As Handler)

Parameters:

  • pattern:
  • handler:

HandleFunc

 

method HandleFunc(pattern: string; handler: Action<go.net.http.ResponseWriter,RemObjects.Elements.System.Memory<go.net.http.Request>>)

 

void HandleFunc(string pattern, Action<go.net.http.ResponseWriter,RemObjects.Elements.System.Memory<go.net.http.Request>> handler)

 

func HandleFunc(_ pattern: string, _ handler: Action<go.net.http.ResponseWriter,RemObjects.Elements.System.Memory<go.net.http.Request>>)

 

func HandleFunc(pattern string, handler Action<go.net.http.ResponseWriter,RemObjects.Elements.System.Memory<go.net.http.Request>>) void

 

Sub HandleFunc(pattern As string, handler As Action<go.net.http.ResponseWriter,RemObjects.Elements.System.Memory<go.net.http.Request>>)

Parameters:

  • pattern:
  • handler:

Handler

 

method Handler(r: Memory<Request>): tuple of (h: Handler, pattern: string)

 

(Handler h, string pattern) Handler(Memory<Request> r)

 

func Handler(_ r: Memory<Request>) -> (Handler, string)

 

func Handler(r Memory<Request>) tuple of (|name=h| Handler, |name=pattern| string)

 

Function Handler(r As Memory<Request>) As Tuple (Of Handler, string)

Parameters:

  • r:

ServeHTTP (ResponseWriter, Memory<Request>)

 

method ServeHTTP(w: ResponseWriter; r: Memory<Request>)

 

void ServeHTTP(ResponseWriter w, Memory<Request> r)

 

func ServeHTTP(_ w: ResponseWriter, _ r: Memory<Request>)

 

func ServeHTTP(w ResponseWriter, r Memory<Request>) void

 

Sub ServeHTTP(w As ResponseWriter, r As Memory<Request>)

Parameters:

  • w:
  • r:

 

Implements