RiotNet  8.0.0
A C#/.NET client for the Riot Games API.
Public Member Functions | Properties | List of all members
RiotNet.RiotResponse Class Reference

A wrapper for the More...

Public Member Functions

 RiotResponse (HttpResponseMessage response, Exception exception=null, bool timedOut=false)
 Creates a new RiotResponse isntance. More...
 

Properties

HttpResponseMessage Response [get]
 Gets the underlying response from the server. More...
 
Exception Exception [get]
 Gets the exception thrown during the request, if any. More...
 
bool TimedOut [get]
 Gets whether the request timed out or was cancelled. More...
 

Detailed Description

A wrapper for the

Constructor & Destructor Documentation

RiotNet.RiotResponse.RiotResponse ( HttpResponseMessage  response,
Exception  exception = null,
bool  timedOut = false 
)
inline

Creates a new RiotResponse isntance.

Parameters
responseThe underlying response from the server.
exceptionThe exception thrown during the request, if any.
timedOutWhether the request timed out or was cancelled.

Property Documentation

Exception RiotNet.RiotResponse.Exception
get

Gets the exception thrown during the request, if any.

HttpResponseMessage RiotNet.RiotResponse.Response
get

Gets the underlying response from the server.

bool RiotNet.RiotResponse.TimedOut
get

Gets whether the request timed out or was cancelled.


The documentation for this class was generated from the following file: