ServeMux

Overview

Location

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

Implements

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:

 

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

 

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

 

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

 

func ServeHTTP(w ResponseWriter, r Reference<Request>)

 

Sub ServeHTTP(w As ResponseWriter, r As Reference<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)

 

Sub Handle(pattern As string, handler As Handler)

Parameters:

  • pattern:
  • handler:

HandleFunc

 

method HandleFunc(pattern: string; handler: Action<go.net.http.ResponseWriter,go.builtin.Reference<go.net.http.Request>>)

 

void HandleFunc(string pattern, Action<go.net.http.ResponseWriter,go.builtin.Reference<go.net.http.Request>> handler)

 

func HandleFunc(_ pattern: string, _ handler: Action<go.net.http.ResponseWriter,go.builtin.Reference<go.net.http.Request>>)

 

func HandleFunc(pattern string, handler Action<go.net.http.ResponseWriter,go.builtin.Reference<go.net.http.Request>>)

 

Sub HandleFunc(pattern As string, handler As Action<go.net.http.ResponseWriter,go.builtin.Reference<go.net.http.Request>>)

Parameters:

  • pattern:
  • handler:

Handler

 

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

 

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

 

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

 

func Handler(r Reference<Request>) (h Handler, pattern string)

 

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

Parameters:

  • r:

 

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

 

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

 

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

 

func ServeHTTP(w ResponseWriter, r Reference<Request>)

 

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

Parameters:

  • w:
  • r: