C# Class hypixel.Server.RequestContext

Datei anzeigen Open project: Ekwav/HypixelSkyblock Class Usage Examples

Public Methods

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

Private Methods

Method Description
ForceSend ( ) : void

Method Details

AddHeader() public abstract method

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

Redirect() public abstract method

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

SetContentType() public abstract method

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

SetStatusCode() public abstract method

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

WriteAsync() public abstract method

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

WriteAsync() public abstract method

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