C# Class UnityHTTP.Response

Mostra file Open project: andyburke/UnityHTTP Class Usage Examples

Public Properties

Property Type Description
bytes byte[]
message string
request Request
status int

Public Methods

Method Description
AddHeader ( string name, string value ) : void
GetHeader ( string name ) : string
GetHeaders ( ) : List
GetHeaders ( string name ) : List
ReadFromStream ( Stream inputStream ) : void
Response ( ) : System

Private Methods

Method Description
ReadKeyValue ( Stream stream ) : string[]
ReadLine ( Stream stream ) : string
UnZip ( MemoryStream output ) : byte[]

Method Details

AddHeader() public method

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

GetHeader() public method

public GetHeader ( string name ) : string
name string
return string

GetHeaders() public method

public GetHeaders ( ) : List
return List

GetHeaders() public method

public GetHeaders ( string name ) : List
name string
return List

ReadFromStream() public method

public ReadFromStream ( Stream inputStream ) : void
inputStream Stream
return void

Response() public method

public Response ( ) : System
return System

Property Details

bytes public_oe property

public byte[] bytes
return byte[]

message public_oe property

public string message
return string

request public_oe property

public Request,UnityHTTP request
return Request

status public_oe property

public int status
return int