Server

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.golang.org.x.net.websocket
  • Platforms: .NET, .NET Standard 2.0, Island

 

constructor

 

constructor

 

Server()

 

init()

 

Sub New()

constructor (Config, Func<Memory<Config>, Memory<Request>, error>, Handler)

 

// .NET, .NET Standard 2.0
constructor(aConfig: Config; aHandshake: Func<Memory<Config>, Memory<Request>, error>; aHandler: Handler)
// Island
constructor(aConfig: Config; aHandshake: Func<RemObjects.Elements.System.Memory<go.golang.org.x.net.websocket.Config>,RemObjects.Elements.System.Memory<go.net.http.Request>,go.builtin.error>; aHandler: Handler)

 

// .NET, .NET Standard 2.0
Server(Config aConfig, Func<Memory<Config>, Memory<Request>, error> aHandshake, Handler aHandler)
// Island
Server(Config aConfig, Func<RemObjects.Elements.System.Memory<go.golang.org.x.net.websocket.Config>,RemObjects.Elements.System.Memory<go.net.http.Request>,go.builtin.error> aHandshake, Handler aHandler)

 

// .NET, .NET Standard 2.0
init(_ aConfig: Config, _ aHandshake: Func<Memory<Config>, Memory<Request>, error>, _ aHandler: Handler)
// Island
init(_ aConfig: Config, _ aHandshake: Func<RemObjects.Elements.System.Memory<go.golang.org.x.net.websocket.Config>,RemObjects.Elements.System.Memory<go.net.http.Request>,go.builtin.error>, _ aHandler: Handler)

 

// .NET, .NET Standard 2.0
Sub New(aConfig As Config, aHandshake As Func (Of Memory<Config>, Memory<Request>, error), aHandler As Handler)
// Island
Sub New(aConfig As Config, aHandshake As Func<RemObjects.Elements.System.Memory<go.golang.org.x.net.websocket.Config>,RemObjects.Elements.System.Memory<go.net.http.Request>,go.builtin.error>, aHandler As Handler)

Parameters:

  • aConfig:
  • aHandshake:
  • aHandler:

constructor (Server)

 

constructor(value: Server)

 

Server(Server value)

 

init(_ value: Server)

 

Sub New(value As Server)

Parameters:

  • value:

Config

 

var Config: Config;

 

Config Config

 

var Config: Config

 

Config Config

 

FIELD Config() As Config

Dialer

 

// .NET, .NET Standard 2.0
property Dialer: Memory<Dialer> read write;
// Island
property Dialer: Memory<Dialer> read write;

 

// .NET, .NET Standard 2.0
Memory<Dialer> Dialer { get; set; }
// Island
Memory<Dialer> Dialer { get; set; }

 

// .NET, .NET Standard 2.0
var Dialer: Memory<Dialer> { get{} set{} }
// Island
var Dialer: Memory<Dialer> { get{} set{} }

 

// .NET, .NET Standard 2.0
Dialer Memory<Dialer>
// Island
Dialer Memory<Dialer>

 

// .NET, .NET Standard 2.0
Property Dialer() As Memory<Dialer>
// Island
Property Dialer() As Memory<Dialer>

Equals

 

method Equals(value: Object): Boolean

 

Boolean Equals(Object value)

 

func Equals(_ value: Object) -> Boolean

 

func Equals(value interface{}) Boolean

 

Function Equals(value As Object) As Boolean

Parameters:

  • value:

GetHashCode

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

func GetHashCode() Int32

 

Function GetHashCode() As Int32

Handler

 

var Handler: Handler;

 

Handler Handler

 

var Handler: Handler

 

Handler Handler

 

FIELD Handler() As Handler

Handshake

 

// .NET, .NET Standard 2.0
var Handshake: Func<Memory<Config>, Memory<Request>, error>;
// Island
var Handshake: Func<RemObjects.Elements.System.Memory<go.golang.org.x.net.websocket.Config>,RemObjects.Elements.System.Memory<go.net.http.Request>,go.builtin.error>;

 

// .NET, .NET Standard 2.0
Func<Memory<Config>, Memory<Request>, error> Handshake
// Island
Func<RemObjects.Elements.System.Memory<go.golang.org.x.net.websocket.Config>,RemObjects.Elements.System.Memory<go.net.http.Request>,go.builtin.error> Handshake

 

// .NET, .NET Standard 2.0
var Handshake: Func<Memory<Config>, Memory<Request>, error>
// Island
var Handshake: Func<RemObjects.Elements.System.Memory<go.golang.org.x.net.websocket.Config>,RemObjects.Elements.System.Memory<go.net.http.Request>,go.builtin.error>

 

// .NET, .NET Standard 2.0
Handshake Func<Memory<Config>, Memory<Request>, error>
// Island
Handshake Func<RemObjects.Elements.System.Memory<go.golang.org.x.net.websocket.Config>,RemObjects.Elements.System.Memory<go.net.http.Request>,go.builtin.error>

 

// .NET, .NET Standard 2.0
FIELD Handshake() As Func (Of Memory<Config>, Memory<Request>, error)
// Island
FIELD Handshake() As Func<RemObjects.Elements.System.Memory<go.golang.org.x.net.websocket.Config>,RemObjects.Elements.System.Memory<go.net.http.Request>,go.builtin.error>

 

property Header: Header read write;

 

Header Header { get; set; }

 

var Header: Header { get{} set{} }

 

Header Header

 

Property Header() As Header

Location

 

// .NET, .NET Standard 2.0
property Location: Memory<URL> read write;
// Island
property Location: Memory<URL> read write;

 

// .NET, .NET Standard 2.0
Memory<URL> Location { get; set; }
// Island
Memory<URL> Location { get; set; }

 

// .NET, .NET Standard 2.0
var Location: Memory<URL> { get{} set{} }
// Island
var Location: Memory<URL> { get{} set{} }

 

// .NET, .NET Standard 2.0
Location Memory<URL>
// Island
Location Memory<URL>

 

// .NET, .NET Standard 2.0
Property Location() As Memory<URL>
// Island
Property Location() As Memory<URL>

Origin

 

// .NET, .NET Standard 2.0
property Origin: Memory<URL> read write;
// Island
property Origin: Memory<URL> read write;

 

// .NET, .NET Standard 2.0
Memory<URL> Origin { get; set; }
// Island
Memory<URL> Origin { get; set; }

 

// .NET, .NET Standard 2.0
var Origin: Memory<URL> { get{} set{} }
// Island
var Origin: Memory<URL> { get{} set{} }

 

// .NET, .NET Standard 2.0
Origin Memory<URL>
// Island
Origin Memory<URL>

 

// .NET, .NET Standard 2.0
Property Origin() As Memory<URL>
// Island
Property Origin() As Memory<URL>

Protocol

 

property Protocol: Slice<string> read write;

 

Slice<string> Protocol { get; set; }

 

var Protocol: Slice<string> { get{} set{} }

 

Protocol Slice<string>

 

Property Protocol() As Slice<string>

ServeHTTP

 

// .NET, .NET Standard 2.0
method ServeHTTP(w: ResponseWriter; req: Memory<Request>)
// Island
method ServeHTTP(w: ResponseWriter; req: Memory<Request>)

 

// .NET, .NET Standard 2.0
void ServeHTTP(ResponseWriter w, Memory<Request> req)
// Island
void ServeHTTP(ResponseWriter w, Memory<Request> req)

 

// .NET, .NET Standard 2.0
func ServeHTTP(_ w: ResponseWriter, _ req: Memory<Request>)
// Island
func ServeHTTP(_ w: ResponseWriter, _ req: Memory<Request>)

 

// .NET, .NET Standard 2.0
func ServeHTTP(w ResponseWriter, req Memory<Request>) 
// Island
func ServeHTTP(w ResponseWriter, req Memory<Request>) void

 

// .NET, .NET Standard 2.0
Sub ServeHTTP(w As ResponseWriter, req As Memory<Request>)
// Island
Sub ServeHTTP(w As ResponseWriter, req As Memory<Request>)

Parameters:

  • w:
  • req:

TlsConfig

 

// .NET, .NET Standard 2.0
property TlsConfig: Memory<Config> read write;
// Island
property TlsConfig: Memory<Config> read write;

 

// .NET, .NET Standard 2.0
Memory<Config> TlsConfig { get; set; }
// Island
Memory<Config> TlsConfig { get; set; }

 

// .NET, .NET Standard 2.0
var TlsConfig: Memory<Config> { get{} set{} }
// Island
var TlsConfig: Memory<Config> { get{} set{} }

 

// .NET, .NET Standard 2.0
TlsConfig Memory<Config>
// Island
TlsConfig Memory<Config>

 

// .NET, .NET Standard 2.0
Property TlsConfig() As Memory<Config>
// Island
Property TlsConfig() As Memory<Config>

Value

 

property Value: Action<RemObjects.Elements.System.Memory<go.golang.org.x.net.websocket.Conn>> read write;

 

Action<RemObjects.Elements.System.Memory<go.golang.org.x.net.websocket.Conn>> Value { get; set; }

 

var Value: Action<RemObjects.Elements.System.Memory<go.golang.org.x.net.websocket.Conn>> { get{} set{} }

 

Value Action<RemObjects.Elements.System.Memory<go.golang.org.x.net.websocket.Conn>>

 

Property Value() As Action<RemObjects.Elements.System.Memory<go.golang.org.x.net.websocket.Conn>>

Version

 

property Version: int read write;

 

int Version { get; set; }

 

var Version: int { get{} set{} }

 

Version int

 

Property Version() As int

 

Config

 

var Config: Config;

 

Config Config

 

var Config: Config

 

Config Config

 

FIELD Config() As Config

Handler

 

var Handler: Handler;

 

Handler Handler

 

var Handler: Handler

 

Handler Handler

 

FIELD Handler() As Handler

Handshake

 

// .NET, .NET Standard 2.0
var Handshake: Func<Memory<Config>, Memory<Request>, error>;
// Island
var Handshake: Func<RemObjects.Elements.System.Memory<go.golang.org.x.net.websocket.Config>,RemObjects.Elements.System.Memory<go.net.http.Request>,go.builtin.error>;

 

// .NET, .NET Standard 2.0
Func<Memory<Config>, Memory<Request>, error> Handshake
// Island
Func<RemObjects.Elements.System.Memory<go.golang.org.x.net.websocket.Config>,RemObjects.Elements.System.Memory<go.net.http.Request>,go.builtin.error> Handshake

 

// .NET, .NET Standard 2.0
var Handshake: Func<Memory<Config>, Memory<Request>, error>
// Island
var Handshake: Func<RemObjects.Elements.System.Memory<go.golang.org.x.net.websocket.Config>,RemObjects.Elements.System.Memory<go.net.http.Request>,go.builtin.error>

 

// .NET, .NET Standard 2.0
Handshake Func<Memory<Config>, Memory<Request>, error>
// Island
Handshake Func<RemObjects.Elements.System.Memory<go.golang.org.x.net.websocket.Config>,RemObjects.Elements.System.Memory<go.net.http.Request>,go.builtin.error>

 

// .NET, .NET Standard 2.0
FIELD Handshake() As Func (Of Memory<Config>, Memory<Request>, error)
// Island
FIELD Handshake() As Func<RemObjects.Elements.System.Memory<go.golang.org.x.net.websocket.Config>,RemObjects.Elements.System.Memory<go.net.http.Request>,go.builtin.error>

 

Dialer

 

// .NET, .NET Standard 2.0
property Dialer: Memory<Dialer> read write;
// Island
property Dialer: Memory<Dialer> read write;

 

// .NET, .NET Standard 2.0
Memory<Dialer> Dialer { get; set; }
// Island
Memory<Dialer> Dialer { get; set; }

 

// .NET, .NET Standard 2.0
var Dialer: Memory<Dialer> { get{} set{} }
// Island
var Dialer: Memory<Dialer> { get{} set{} }

 

// .NET, .NET Standard 2.0
Dialer Memory<Dialer>
// Island
Dialer Memory<Dialer>

 

// .NET, .NET Standard 2.0
Property Dialer() As Memory<Dialer>
// Island
Property Dialer() As Memory<Dialer>

 

property Header: Header read write;

 

Header Header { get; set; }

 

var Header: Header { get{} set{} }

 

Header Header

 

Property Header() As Header

Location

 

// .NET, .NET Standard 2.0
property Location: Memory<URL> read write;
// Island
property Location: Memory<URL> read write;

 

// .NET, .NET Standard 2.0
Memory<URL> Location { get; set; }
// Island
Memory<URL> Location { get; set; }

 

// .NET, .NET Standard 2.0
var Location: Memory<URL> { get{} set{} }
// Island
var Location: Memory<URL> { get{} set{} }

 

// .NET, .NET Standard 2.0
Location Memory<URL>
// Island
Location Memory<URL>

 

// .NET, .NET Standard 2.0
Property Location() As Memory<URL>
// Island
Property Location() As Memory<URL>

Origin

 

// .NET, .NET Standard 2.0
property Origin: Memory<URL> read write;
// Island
property Origin: Memory<URL> read write;

 

// .NET, .NET Standard 2.0
Memory<URL> Origin { get; set; }
// Island
Memory<URL> Origin { get; set; }

 

// .NET, .NET Standard 2.0
var Origin: Memory<URL> { get{} set{} }
// Island
var Origin: Memory<URL> { get{} set{} }

 

// .NET, .NET Standard 2.0
Origin Memory<URL>
// Island
Origin Memory<URL>

 

// .NET, .NET Standard 2.0
Property Origin() As Memory<URL>
// Island
Property Origin() As Memory<URL>

Protocol

 

property Protocol: Slice<string> read write;

 

Slice<string> Protocol { get; set; }

 

var Protocol: Slice<string> { get{} set{} }

 

Protocol Slice<string>

 

Property Protocol() As Slice<string>

TlsConfig

 

// .NET, .NET Standard 2.0
property TlsConfig: Memory<Config> read write;
// Island
property TlsConfig: Memory<Config> read write;

 

// .NET, .NET Standard 2.0
Memory<Config> TlsConfig { get; set; }
// Island
Memory<Config> TlsConfig { get; set; }

 

// .NET, .NET Standard 2.0
var TlsConfig: Memory<Config> { get{} set{} }
// Island
var TlsConfig: Memory<Config> { get{} set{} }

 

// .NET, .NET Standard 2.0
TlsConfig Memory<Config>
// Island
TlsConfig Memory<Config>

 

// .NET, .NET Standard 2.0
Property TlsConfig() As Memory<Config>
// Island
Property TlsConfig() As Memory<Config>

Value

 

property Value: Action<RemObjects.Elements.System.Memory<go.golang.org.x.net.websocket.Conn>> read write;

 

Action<RemObjects.Elements.System.Memory<go.golang.org.x.net.websocket.Conn>> Value { get; set; }

 

var Value: Action<RemObjects.Elements.System.Memory<go.golang.org.x.net.websocket.Conn>> { get{} set{} }

 

Value Action<RemObjects.Elements.System.Memory<go.golang.org.x.net.websocket.Conn>>

 

Property Value() As Action<RemObjects.Elements.System.Memory<go.golang.org.x.net.websocket.Conn>>

Version

 

property Version: int read write;

 

int Version { get; set; }

 

var Version: int { get{} set{} }

 

Version int

 

Property Version() As int

 

constructor

 

constructor

 

Server()

 

init()

 

Sub New()

constructor (Config, Func<Memory<Config>, Memory<Request>, error>, Handler)

 

// .NET, .NET Standard 2.0
constructor(aConfig: Config; aHandshake: Func<Memory<Config>, Memory<Request>, error>; aHandler: Handler)
// Island
constructor(aConfig: Config; aHandshake: Func<RemObjects.Elements.System.Memory<go.golang.org.x.net.websocket.Config>,RemObjects.Elements.System.Memory<go.net.http.Request>,go.builtin.error>; aHandler: Handler)

 

// .NET, .NET Standard 2.0
Server(Config aConfig, Func<Memory<Config>, Memory<Request>, error> aHandshake, Handler aHandler)
// Island
Server(Config aConfig, Func<RemObjects.Elements.System.Memory<go.golang.org.x.net.websocket.Config>,RemObjects.Elements.System.Memory<go.net.http.Request>,go.builtin.error> aHandshake, Handler aHandler)

 

// .NET, .NET Standard 2.0
init(_ aConfig: Config, _ aHandshake: Func<Memory<Config>, Memory<Request>, error>, _ aHandler: Handler)
// Island
init(_ aConfig: Config, _ aHandshake: Func<RemObjects.Elements.System.Memory<go.golang.org.x.net.websocket.Config>,RemObjects.Elements.System.Memory<go.net.http.Request>,go.builtin.error>, _ aHandler: Handler)

 

// .NET, .NET Standard 2.0
Sub New(aConfig As Config, aHandshake As Func (Of Memory<Config>, Memory<Request>, error), aHandler As Handler)
// Island
Sub New(aConfig As Config, aHandshake As Func<RemObjects.Elements.System.Memory<go.golang.org.x.net.websocket.Config>,RemObjects.Elements.System.Memory<go.net.http.Request>,go.builtin.error>, aHandler As Handler)

Parameters:

  • aConfig:
  • aHandshake:
  • aHandler:

constructor (Server)

 

constructor(value: Server)

 

Server(Server value)

 

init(_ value: Server)

 

Sub New(value As Server)

Parameters:

  • value:

Equals

 

method Equals(value: Object): Boolean

 

Boolean Equals(Object value)

 

func Equals(_ value: Object) -> Boolean

 

func Equals(value interface{}) Boolean

 

Function Equals(value As Object) As Boolean

Parameters:

  • value:

GetHashCode

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

func GetHashCode() Int32

 

Function GetHashCode() As Int32

ServeHTTP

 

// .NET, .NET Standard 2.0
method ServeHTTP(w: ResponseWriter; req: Memory<Request>)
// Island
method ServeHTTP(w: ResponseWriter; req: Memory<Request>)

 

// .NET, .NET Standard 2.0
void ServeHTTP(ResponseWriter w, Memory<Request> req)
// Island
void ServeHTTP(ResponseWriter w, Memory<Request> req)

 

// .NET, .NET Standard 2.0
func ServeHTTP(_ w: ResponseWriter, _ req: Memory<Request>)
// Island
func ServeHTTP(_ w: ResponseWriter, _ req: Memory<Request>)

 

// .NET, .NET Standard 2.0
func ServeHTTP(w ResponseWriter, req Memory<Request>) 
// Island
func ServeHTTP(w ResponseWriter, req Memory<Request>) void

 

// .NET, .NET Standard 2.0
Sub ServeHTTP(w As ResponseWriter, req As Memory<Request>)
// Island
Sub ServeHTTP(w As ResponseWriter, req As Memory<Request>)

Parameters:

  • w:
  • req: