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

Contains event data for an event that contains an HTTP response. More...

Inheritance diagram for RiotNet.ResponseEventArgs:
RiotNet.RetryEventArgs

Public Member Functions

 ResponseEventArgs (RiotResponse response, string errorMessage=null)
 Creates a new ResponseEventArgs instance. More...
 

Properties

RiotResponse Response [get]
 Gets the response for the request that caused the event. More...
 
string ErrorMessage [get]
 Gets the error message contained in te response, if any. More...
 

Detailed Description

Contains event data for an event that contains an HTTP response.

Constructor & Destructor Documentation

RiotNet.ResponseEventArgs.ResponseEventArgs ( RiotResponse  response,
string  errorMessage = null 
)
inline

Creates a new ResponseEventArgs instance.

Parameters
responseThe response for the request that caused the event.
errorMessageThe error message contained in te response, if any.

Property Documentation

string RiotNet.ResponseEventArgs.ErrorMessage
get

Gets the error message contained in te response, if any.

RiotResponse RiotNet.ResponseEventArgs.Response
get

Gets the response for the request that caused the event.


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