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()
// .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)
Parameters:
- value:
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; }
Equals
func Equals(value interface{}) 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>
Header
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; }
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; }
Protocol
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; }
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
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>
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; }
Header
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; }
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; }
Protocol
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; }
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
constructor
constructor
Server()
init()
Sub New()
// .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)
Parameters:
- value:
Equals
func Equals(value interface{}) 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: