BNETBaseClient

Overview

Works as a base abstact class used to construct BNET APIs REST clients. Defines built in GET methods and BNET regions support. Contains the HTTP Client class instance.

Basicalli, when instantiated, it creates an HTTP Client instance and initializes BNET selected region. By doing this, the class is ready to perform a get from selected BNET API site and get the JSON response string. It also supports derived class with some URL-specific methods used to form a REST API request URL.

Fields

BNET specific

Generic
  • HttpClient httpClient: used to contact directly the REST endpoint.

Properties

  • RegionsEnumeration Region: property for the region field.

Methods

REST API request build specific

REST data specific

Last edited Jul 30, 2013 at 12:25 PM by XMaverick, version 1

Comments

No comments yet.