C# Class FluentHttpSamples.Program

Show file Open project: prabirshrestha/FluentHttp

Public Methods

Method Description
UploadPhoto ( string path, string filename, string contentType, string message ) : string

Private Methods

Method Description
AttachRequestBodyAndUpdateHeader ( FluentHttpRequest request, object>.IDictionary parameters, string boundary ) : void
Delete ( string postId ) : void
ExtractMediaObjects ( object>.IDictionary parameters ) : MediaObject>.IDictionary
Get ( ) : void
GetAsync ( ) : void
GetAsyncWithTask ( ) : void
Main ( string args ) : void
Post ( string message ) : string

Method Details

UploadPhoto() public static method

public static UploadPhoto ( string path, string filename, string contentType, string message ) : string
path string
filename string
contentType string
message string
return string