websocket-sharp : WebSocketSharp.Server Namespace

WebSocketService Class

Documentation for this section has not yet been entered.

Syntax

public abstract class WebSocketService

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)

Members

See Also: Inherited members from object.

Public Constructors

Documentation for this section has not yet been entered.

Public Properties

[read-only]
ID string . Documentation for this section has not yet been entered.
[read-only]
IsBound bool . Documentation for this section has not yet been entered.

Protected Properties

[read-only]
QueryString System.Collections.Specialized.NameValueCollection . Documentation for this section has not yet been entered.
[read-only]
Sessions SessionManager . Documentation for this section has not yet been entered.

Public Methods

Bind (WebSocketSharp.WebSocket, SessionManager)
Documentation for this section has not yet been entered.
Ping () : bool
Documentation for this section has not yet been entered.
Ping (string) : bool
Documentation for this section has not yet been entered.
PingAround () : Dictionary<string, bool>
Documentation for this section has not yet been entered.
PingAround (string) : Dictionary<string, bool>
Documentation for this section has not yet been entered.
PingTo (string) : bool
Documentation for this section has not yet been entered.
PingTo (string, string) : bool
Documentation for this section has not yet been entered.
Publish (byte[])
Documentation for this section has not yet been entered.
Publish (string)
Documentation for this section has not yet been entered.
Send (byte[])
Documentation for this section has not yet been entered.
Send (string)
Documentation for this section has not yet been entered.
SendTo (string, byte[])
Documentation for this section has not yet been entered.
SendTo (string, string)
Documentation for this section has not yet been entered.
Start ()
Documentation for this section has not yet been entered.
Stop ()
Documentation for this section has not yet been entered.
Stop (ushort, string)
Documentation for this section has not yet been entered.
Stop (WebSocketSharp.CloseStatusCode, string)
Documentation for this section has not yet been entered.

Protected Methods

OnClose (object, WebSocketSharp.CloseEventArgs)
Documentation for this section has not yet been entered.
OnError (object, WebSocketSharp.ErrorEventArgs)
Documentation for this section has not yet been entered.
OnMessage (object, WebSocketSharp.MessageEventArgs)
Documentation for this section has not yet been entered.
OnOpen (object, EventArgs)
Documentation for this section has not yet been entered.

Extension Methods

static
IsNull<T> (this T) : bool
Determines whether the specified object is null.
static
IsNullDo<T> (this T, Action) : bool
Determines whether the specified object is null. And invokes the specified Action delegate if the specified object is null.

Member Details

WebSocketService Constructor

Documentation for this section has not yet been entered.

Syntax

public WebSocketService ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)

Bind Method

Documentation for this section has not yet been entered.

Syntax

public void Bind (WebSocketSharp.WebSocket socket, SessionManager sessions)

Parameters

socket
Documentation for this section has not yet been entered.
sessions
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)

ID Property

Documentation for this section has not yet been entered.

Syntax

public string ID { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)

IsBound Property

Documentation for this section has not yet been entered.

Syntax

public bool IsBound { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)

OnClose Method

Documentation for this section has not yet been entered.

Syntax

protected virtual void OnClose (object sender, WebSocketSharp.CloseEventArgs e)

Parameters

sender
Documentation for this section has not yet been entered.
e
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)

OnError Method

Documentation for this section has not yet been entered.

Syntax

protected virtual void OnError (object sender, WebSocketSharp.ErrorEventArgs e)

Parameters

sender
Documentation for this section has not yet been entered.
e
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)

OnMessage Method

Documentation for this section has not yet been entered.

Syntax

protected virtual void OnMessage (object sender, WebSocketSharp.MessageEventArgs e)

Parameters

sender
Documentation for this section has not yet been entered.
e
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)

OnOpen Method

Documentation for this section has not yet been entered.

Syntax

protected virtual void OnOpen (object sender, EventArgs e)

Parameters

sender
Documentation for this section has not yet been entered.
e
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)

Ping Method

Documentation for this section has not yet been entered.

Syntax

public bool Ping ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)

Ping Method

Documentation for this section has not yet been entered.

Syntax

public bool Ping (string message)

Parameters

message
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)

PingAround Method

Documentation for this section has not yet been entered.

Syntax

public Dictionary<string, bool> PingAround ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)

PingAround Method

Documentation for this section has not yet been entered.

Syntax

public Dictionary<string, bool> PingAround (string message)

Parameters

message
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)

PingTo Method

Documentation for this section has not yet been entered.

Syntax

public bool PingTo (string id)

Parameters

id
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)

PingTo Method

Documentation for this section has not yet been entered.

Syntax

public bool PingTo (string id, string message)

Parameters

id
Documentation for this section has not yet been entered.
message
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)

Publish Method

Documentation for this section has not yet been entered.

Syntax

public void Publish (byte[] data)

Parameters

data
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)

Publish Method

Documentation for this section has not yet been entered.

Syntax

public void Publish (string data)

Parameters

data
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)

QueryString Property

Documentation for this section has not yet been entered.

Syntax

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)

Send Method

Documentation for this section has not yet been entered.

Syntax

public void Send (byte[] data)

Parameters

data
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)

Send Method

Documentation for this section has not yet been entered.

Syntax

public void Send (string data)

Parameters

data
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)

SendTo Method

Documentation for this section has not yet been entered.

Syntax

public void SendTo (string id, byte[] data)

Parameters

id
Documentation for this section has not yet been entered.
data
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)

SendTo Method

Documentation for this section has not yet been entered.

Syntax

public void SendTo (string id, string data)

Parameters

id
Documentation for this section has not yet been entered.
data
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)

Sessions Property

Documentation for this section has not yet been entered.

Syntax

protected SessionManager Sessions { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)

Start Method

Documentation for this section has not yet been entered.

Syntax

public void Start ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)

Stop Method

Documentation for this section has not yet been entered.

Syntax

public void Stop ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)

Stop Method

Documentation for this section has not yet been entered.

Syntax

public void Stop (ushort code, string reason)

Parameters

code
Documentation for this section has not yet been entered.
reason
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)

Stop Method

Documentation for this section has not yet been entered.

Syntax

public void Stop (WebSocketSharp.CloseStatusCode code, string reason)

Parameters

code
Documentation for this section has not yet been entered.
reason
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)