C# Class RestClient.ClientForm

Inheritance: System.Windows.Forms.Form
Show file Open project: jcrisp/simple_rest_client_c_sharp

Public Methods

Method Description
ClientForm ( ) : System
ClientForm_Load ( object sender, EventArgs e ) : void
ExecuteButton_Click ( object sender, EventArgs e ) : void
MakeRequest ( ) : void
SetBody ( HttpWebRequest request, string requestBody ) : void
UrlTextBox_KeyDown ( object sender, KeyEventArgs e ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
ConvertResponseToString ( HttpWebResponse response ) : string
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

Method Details

ClientForm() public method

public ClientForm ( ) : System
return System

ClientForm_Load() public method

public ClientForm_Load ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

ExecuteButton_Click() public method

public ExecuteButton_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

MakeRequest() public method

public MakeRequest ( ) : void
return void

SetBody() public method

public SetBody ( HttpWebRequest request, string requestBody ) : void
request System.Net.HttpWebRequest
requestBody string
return void

UrlTextBox_KeyDown() public method

public UrlTextBox_KeyDown ( object sender, KeyEventArgs e ) : void
sender object
e System.Windows.Forms.KeyEventArgs
return void