C# Class hypixel.Server.WebsocketRequestContext

Inheritance: RequestContext
Mostrar archivo Open project: Ekwav/HypixelSkyblock

Public Properties

Property Type Description
original HttpRequestEventArgs

Public Methods

Method Description
AddHeader ( string name, string value ) : void
Redirect ( string uri ) : void
SetContentType ( string type ) : void
SetStatusCode ( int code ) : void
WebsocketRequestContext ( HttpRequestEventArgs original ) : System
WriteAsync ( string data ) : Task
WriteAsync ( Array data ) : void

Private Methods

Method Description
ForceSend ( ) : void

Method Details

AddHeader() public method

public AddHeader ( string name, string value ) : void
name string
value string
return void

Redirect() public method

public Redirect ( string uri ) : void
uri string
return void

SetContentType() public method

public SetContentType ( string type ) : void
type string
return void

SetStatusCode() public method

public SetStatusCode ( int code ) : void
code int
return void

WebsocketRequestContext() public method

public WebsocketRequestContext ( HttpRequestEventArgs original ) : System
original HttpRequestEventArgs
return System

WriteAsync() public method

public WriteAsync ( string data ) : Task
data string
return Task

WriteAsync() public method

public WriteAsync ( Array data ) : void
data Array
return void

Property Details

original public_oe property

public HttpRequestEventArgs original
return HttpRequestEventArgs