C# Class GitHubFeeds.Helpers.GitHubApi

Show file Open project: bgrainger/GitHubFeeds

Public Methods

Method Description
CreateRequest ( Uri uri, string userName = null, string password = null ) : HttpWebRequest

Creates a HttpWebRequest to access the specified URI.

Method Details

CreateRequest() public static method

Creates a HttpWebRequest to access the specified URI.
public static CreateRequest ( Uri uri, string userName = null, string password = null ) : HttpWebRequest
uri System.Uri The URI.
userName string The (optional) username for authentication.
password string The (optional) password for authentication.
return System.Net.HttpWebRequest