C# Class ALE.Http.ServerBase

Show file Open project: blesh/ALE

Public Properties

Property Type Description
Process Action>>.List

Protected Properties

Property Type Description
ViewProcessor IViewProcessor

Public Methods

Method Description
Use ( Action>.Action processor ) : ServerBase

Adds preprocessing middleware.

Use ( IViewProcessor viewProcessor ) : ServerBase

Sets the type of view processor to use.

Protected Methods

Method Description
OnProcess ( IContext context ) : void

Method Details

OnProcess() protected method

protected OnProcess ( IContext context ) : void
context IContext
return void

Use() public method

Adds preprocessing middleware.
public Use ( Action>.Action processor ) : ServerBase
processor Action>.Action
return ServerBase

Use() public method

Sets the type of view processor to use.
public Use ( IViewProcessor viewProcessor ) : ServerBase
viewProcessor IViewProcessor The view processor to use.
return ServerBase

Property Details

Process public property

public List> Process
return Action>>.List

ViewProcessor protected property

The view processor requests will use.
protected IViewProcessor ViewProcessor
return IViewProcessor