C# Class BaseJump.Core.RequestBuilder

This is incomplete. Most notably I'm not handling post data yet. It's enough for now, but BaseJump isn't ready for your consumption. Sorry.
Mostra file Open project: kodefuguru/bungie

Public Methods

Method Description
AddHeader ( string key, string value ) : void
AddHeaders ( string>.IDictionary headers ) : void
Build ( object service, string action, object model ) : Task
RequestBuilder ( ) : System

Private Methods

Method Description
BuildContent ( ) : void
BuildHeaders ( ) : void
BuildQueryString ( ) : void
BuildRoute ( ) : void
BuildValues ( ) : void
GetRequestStream ( WebRequest request ) : Task
ModelPropertyTypes ( ) : System.Type[]
ReplaceRouteTokens ( ) : void

Method Details

AddHeader() public method

public AddHeader ( string key, string value ) : void
key string
value string
return void

AddHeaders() public method

public AddHeaders ( string>.IDictionary headers ) : void
headers string>.IDictionary
return void

Build() public method

public Build ( object service, string action, object model ) : Task
service object
action string
model object
return Task

RequestBuilder() public method

public RequestBuilder ( ) : System
return System