Multiplayer Reference
Class HttpResponse
Namespace: PlayerIO.GameLibrary
Language: C# / .NET
The response from a HTTP Get or Post request
Here's an example on how to grab the entire response and print it to the console:
Properties | |||
---|---|---|---|
public Dictionary<string, string> |
A dictionary containing the headers of the http response |
||
public Stream |
A stream with the body of the http response |
||
public int |
The status code returned from the remote web server |
||
public string |
The response stream read as an UTF8 string |
HttpResponse.Headers
public Dictionary<string, string> |
|
A dictionary containing the headers of the http response
HttpResponse.ResponseStream
public Stream |
|
A stream with the body of the http response
HttpResponse.StatusCode
public int |
|
The status code returned from the remote web server
HttpResponse.Text
public string |
|
The response stream read as an UTF8 string