Player.IO

Build fun, powerful & scalable online and mobile games with the reliable backend your users expect

Sign Up | Sign In

Multiplayer Reference

Multiplayer  class documentationClass 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 Stream
ResponseStream  [read-only]

A stream with the body of the http response

public int
StatusCode  [read-only]

The status code returned from the remote web server

public string
Text  [read-only]

The response stream read as an UTF8 string

ResponseStream

A stream with the body of the http response

Return Value

StatusCode

The status code returned from the remote web server

Return Value

Text

The response stream read as an UTF8 string

Return Value