websocket-sharp : WebSocketSharp.Server Namespace

HttpServer Class

Documentation for this section has not yet been entered.

Syntax

public class HttpServer

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.
Documentation for this section has not yet been entered.

Public Properties

[read-only]
Port int . Documentation for this section has not yet been entered.
[read-only]
ServicePath IEnumerable<string> . Documentation for this section has not yet been entered.
Sweeped bool . Documentation for this section has not yet been entered.

Public Methods

AddService<T> (string)
Documentation for this section has not yet been entered.
GetFile (string) : byte[]
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.

Public Events

OnConnect Documentation for this section has not yet been entered.
OnDelete Documentation for this section has not yet been entered.
OnError Documentation for this section has not yet been entered.
OnGet Documentation for this section has not yet been entered.
OnHead Documentation for this section has not yet been entered.
OnOptions Documentation for this section has not yet been entered.
OnPatch Documentation for this section has not yet been entered.
OnPost Documentation for this section has not yet been entered.
OnPut Documentation for this section has not yet been entered.
OnTrace 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

HttpServer Constructor

Documentation for this section has not yet been entered.

Syntax

public HttpServer ()

Remarks

Documentation for this section has not yet been entered.

Requirements

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

HttpServer Constructor

Documentation for this section has not yet been entered.

Syntax

public HttpServer (int port)

Parameters

port
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)

AddService<T> Generic Method

Documentation for this section has not yet been entered.

Syntax

public void AddService<T> (string absPath)
where T : WebSocketSharp.Server.WebSocketService, new()

Type Parameters

T
Documentation for this section has not yet been entered.

Parameters

absPath
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)

GetFile Method

Documentation for this section has not yet been entered.

Syntax

public byte[] GetFile (string path)

Parameters

path
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)

OnConnect Event

Documentation for this section has not yet been entered.

Syntax

public event EventHandler<ResponseEventArgs> OnConnect

Remarks

Documentation for this section has not yet been entered.

Requirements

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

OnDelete Event

Documentation for this section has not yet been entered.

Syntax

public event EventHandler<ResponseEventArgs> OnDelete

Remarks

Documentation for this section has not yet been entered.

Requirements

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

OnError Event

Documentation for this section has not yet been entered.

Syntax

Remarks

Documentation for this section has not yet been entered.

Requirements

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

OnGet Event

Documentation for this section has not yet been entered.

Syntax

Remarks

Documentation for this section has not yet been entered.

Requirements

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

OnHead Event

Documentation for this section has not yet been entered.

Syntax

public event EventHandler<ResponseEventArgs> OnHead

Remarks

Documentation for this section has not yet been entered.

Requirements

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

OnOptions Event

Documentation for this section has not yet been entered.

Syntax

public event EventHandler<ResponseEventArgs> OnOptions

Remarks

Documentation for this section has not yet been entered.

Requirements

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

OnPatch Event

Documentation for this section has not yet been entered.

Syntax

public event EventHandler<ResponseEventArgs> OnPatch

Remarks

Documentation for this section has not yet been entered.

Requirements

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

OnPost Event

Documentation for this section has not yet been entered.

Syntax

public event EventHandler<ResponseEventArgs> OnPost

Remarks

Documentation for this section has not yet been entered.

Requirements

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

OnPut Event

Documentation for this section has not yet been entered.

Syntax

Remarks

Documentation for this section has not yet been entered.

Requirements

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

OnTrace Event

Documentation for this section has not yet been entered.

Syntax

public event EventHandler<ResponseEventArgs> OnTrace

Remarks

Documentation for this section has not yet been entered.

Requirements

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

Port Property

Documentation for this section has not yet been entered.

Syntax

public int Port { 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)

ServicePath Property

Documentation for this section has not yet been entered.

Syntax

public IEnumerable<string> ServicePath { 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)

Sweeped Property

Documentation for this section has not yet been entered.

Syntax

public bool Sweeped { get; set; }

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)