C# Class hypixel.ResponseExtentions

显示文件 Open project: Ekwav/HypixelSkyblock

Public Methods

Method Description
RedirectSkyblock ( Server.RequestContext res, string parameter = null, string type = null, string seoTerm = null ) : string
WriteEnd ( Server.RequestContext response, string stringContent ) : Task
WritePartial ( HttpListenerResponse response, string stringContent ) : Task

Private Methods

Method Description
WriteBytes ( Stream stream, Array bytes, int bufferLength ) : void

Method Details

RedirectSkyblock() public static method

public static RedirectSkyblock ( Server.RequestContext res, string parameter = null, string type = null, string seoTerm = null ) : string
res Server.RequestContext
parameter string
type string
seoTerm string
return string

WriteEnd() public static method

public static WriteEnd ( Server.RequestContext response, string stringContent ) : Task
response Server.RequestContext
stringContent string
return Task

WritePartial() public static method

public static WritePartial ( HttpListenerResponse response, string stringContent ) : Task
response HttpListenerResponse
stringContent string
return Task