Class RendezvousHttpResponse
- Namespace
- Unity.Multiplayer.Core
An HTTP response: status code and body text.
public sealed class RendezvousHttpResponse
- Inheritance
-
RendezvousHttpResponse
- Inherited Members
Constructors
RendezvousHttpResponse(int, string)
Creates a response.
public RendezvousHttpResponse(int statusCode, string body)
Parameters
Properties
Body
The body text; empty when there was none.
public string Body { get; }
Property Value
IsSuccess
True for a 2xx status.
public bool IsSuccess { get; }
Property Value
StatusCode
The HTTP status code.
public int StatusCode { get; }