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(aConfig: Config; aHandshake: Func<Reference<Config>, Reference<Request>, error>; aHandler: Handler)

 

Server(Config aConfig, Func<Reference<Config>, Reference<Request>, error> aHandshake, Handler aHandler)

 

init(_ aConfig: Config, _ aHandshake: Func<Reference<Config>, Reference<Request>, error>, _ aHandler: Handler)

 

Sub New(aConfig As Config, aHandshake As Func (Of Reference<Config>, Reference<Request>, 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

 

property Dialer: Reference<Dialer> read write;

 

Reference<Dialer> Dialer { get; set; }

 

var Dialer: Reference<Dialer> { get{} set{} }

 

Dialer Reference<Dialer>

 

Property Dialer() As Reference<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

 

var Handshake: Func<Reference<Config>, Reference<Request>, error>;

 

Func<Reference<Config>, Reference<Request>, error> Handshake

 

var Handshake: Func<Reference<Config>, Reference<Request>, error>

 

Handshake Func<Reference<Config>, Reference<Request>, error>

 

FIELD Handshake() As Func (Of Reference<Config>, Reference<Request>, error)

Header

 

property Header: Header read write;

 

Header Header { get; set; }

 

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

 

Header Header

 

Property Header() As Header

Location

 

property Location: Reference<URL> read write;

 

Reference<URL> Location { get; set; }

 

var Location: Reference<URL> { get{} set{} }

 

Location Reference<URL>

 

Property Location() As Reference<URL>

Origin

 

property Origin: Reference<URL> read write;

 

Reference<URL> Origin { get; set; }

 

var Origin: Reference<URL> { get{} set{} }

 

Origin Reference<URL>

 

Property Origin() As Reference<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

 

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

 

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

 

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

 

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

 

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

Parameters:

  • w:
  • req:

TlsConfig

 

property TlsConfig: Reference<Config> read write;

 

Reference<Config> TlsConfig { get; set; }

 

var TlsConfig: Reference<Config> { get{} set{} }

 

TlsConfig Reference<Config>

 

Property TlsConfig() As Reference<Config>

Value

 

property Value: Action<Reference<Conn>> read write;

 

Action<Reference<Conn>> Value { get; set; }

 

var Value: Action<Reference<Conn>> { get{} set{} }

 

Value Action<Reference<Conn>>

 

Property Value() As Action (Of Reference<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

 

var Handshake: Func<Reference<Config>, Reference<Request>, error>;

 

Func<Reference<Config>, Reference<Request>, error> Handshake

 

var Handshake: Func<Reference<Config>, Reference<Request>, error>

 

Handshake Func<Reference<Config>, Reference<Request>, error>

 

FIELD Handshake() As Func (Of Reference<Config>, Reference<Request>, error)

 

Dialer

 

property Dialer: Reference<Dialer> read write;

 

Reference<Dialer> Dialer { get; set; }

 

var Dialer: Reference<Dialer> { get{} set{} }

 

Dialer Reference<Dialer>

 

Property Dialer() As Reference<Dialer>

Header

 

property Header: Header read write;

 

Header Header { get; set; }

 

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

 

Header Header

 

Property Header() As Header

Location

 

property Location: Reference<URL> read write;

 

Reference<URL> Location { get; set; }

 

var Location: Reference<URL> { get{} set{} }

 

Location Reference<URL>

 

Property Location() As Reference<URL>

Origin

 

property Origin: Reference<URL> read write;

 

Reference<URL> Origin { get; set; }

 

var Origin: Reference<URL> { get{} set{} }

 

Origin Reference<URL>

 

Property Origin() As Reference<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

 

property TlsConfig: Reference<Config> read write;

 

Reference<Config> TlsConfig { get; set; }

 

var TlsConfig: Reference<Config> { get{} set{} }

 

TlsConfig Reference<Config>

 

Property TlsConfig() As Reference<Config>

Value

 

property Value: Action<Reference<Conn>> read write;

 

Action<Reference<Conn>> Value { get; set; }

 

var Value: Action<Reference<Conn>> { get{} set{} }

 

Value Action<Reference<Conn>>

 

Property Value() As Action (Of Reference<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(aConfig: Config; aHandshake: Func<Reference<Config>, Reference<Request>, error>; aHandler: Handler)

 

Server(Config aConfig, Func<Reference<Config>, Reference<Request>, error> aHandshake, Handler aHandler)

 

init(_ aConfig: Config, _ aHandshake: Func<Reference<Config>, Reference<Request>, error>, _ aHandler: Handler)

 

Sub New(aConfig As Config, aHandshake As Func (Of Reference<Config>, Reference<Request>, 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

 

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

 

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

 

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

 

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

 

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

Parameters:

  • w:
  • req: