C# Class RestClient.ClientForm

Inheritance: System.Windows.Forms.Form
Afficher le fichier Open project: jcrisp/simple_rest_client_c_sharp

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode 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 méthode

public ClientForm ( ) : System
Résultat System

ClientForm_Load() public méthode

public ClientForm_Load ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

Dispose() protected méthode

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

ExecuteButton_Click() public méthode

public ExecuteButton_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

MakeRequest() public méthode

public MakeRequest ( ) : void
Résultat void

SetBody() public méthode

public SetBody ( HttpWebRequest request, string requestBody ) : void
request System.Net.HttpWebRequest
requestBody string
Résultat void

UrlTextBox_KeyDown() public méthode

public UrlTextBox_KeyDown ( object sender, KeyEventArgs e ) : void
sender object
e System.Windows.Forms.KeyEventArgs
Résultat void