-
Notifications
You must be signed in to change notification settings - Fork 0
72120597 6fa2 1437 26de f3477e705880
Mat Walker edited this page Apr 17, 2020
·
1 revision
[This is preliminary documentation and is subject to change.]
Provides test oriented functionality for interacting with HTTP based protocols
System.Object
TeamControlium.NonGUI.HTTPBased
Namespace: TeamControlium.NonGUI
Assembly: TeamControlium.NonGUI (in TeamControlium.NonGUI.dll) Version: 2.0.0
C#
public class HTTPBased
The HTTPBased type exposes the following members.
Name | Description | |
---|---|---|
HTTPBased |
Initialises a new instance of the HTTPBased class. Used for testing an HTTP interface when used for Non-UI interaction (IE. WebServices,
etc...) |
Name | Description | |
---|---|---|
Body | Gets or sets the HTTP body | |
CertificateValidationCallback | Gets or sets Call-back delegate for custom/test-based validations of Server certificates. Can be used for Server Certificate logging, negative testing etc... | |
ClientCertificate | Gets or sets X509 Certificate to use with SSL based communications (If required) | |
Domain | Gets or sets the HTTP Domain | |
HeaderList | Gets or sets the HTTP Header as a List of name/value pairs | |
HeaderString | Gets or sets the HTTP Header as a string | |
HTTPMethod | Gets or sets the HTTP Method | |
QueryList | Gets or sets the HTTP Query list that is used on top line of HTTP Header | |
QueryString | Gets or sets the HTTP Query string that is used on top line of HTTP Header | |
ResourcePath | Gets or sets the HTTP Resource Path | |
ResponseRaw | Gets raw Response text of HTTP Request. Data is raw HTTP response. | |
TryException | Gets last exception thrown in a Try... method. | |
UseSSL | Gets or sets a value indicating whether a secure SSL (HTTPS) connection is to be used |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Http(HTTPBased.HTTPMethods, Boolean) | Sends an HTTP Request with the given request method and set properties then returns response. | |
Http(HTTPBased.HTTPMethods, String, String, String, String, String, Boolean) | Sends an HTTP Request with the given request method and parameters | |
HttpGET() | Performs an HTTP GET to the required Domain/ResourcePath containing given HTTP Query-string Header and Body (if given) | |
HttpGET(String, String, String, String, String) | Performs an HTTP GET to the required Domain/ResourcePath containing given HTTP Query-string Header and Body (if given) | |
HttpPOST() | Performs an HTTP POST to the required Domain/ResourcePath containing given HTTP Header and Body | |
HttpPOST(String, String, String, String, String) | Performs an HTTP POST to the required Domain/ResourcePath containing given HTTP Header and Body | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryHttp(HTTPBased.HTTPMethods, HTTPBased.ItemList, Boolean) | Sends an HTTP Request with the given request method and set properties then returns response. | |
TryHttp(HTTPBased.HTTPMethods, String, String, String, String, String, HTTPBased.ItemList, Boolean) | Sends an HTTP Request with the given request method and parameters | |
TryHttpPOST(HTTPBased.ItemList) | Performs an HTTP POST to the required Domain/ResourcePath containing given HTTP Header and Body | |
TryHttpPOST(String, String, String, String, HTTPBased.ItemList) | Performs an HTTP POST to the required Domain/ResourcePath containing given HTTP Header and Body |
Category | Item | Type | Default Value | Comments |
---|---|---|---|---|
TeamControlium.HTTP | SSLPort |
int
|
- TeamControlium Namespace
-
TeamControlium.NonGUI Namespace
-
HTTPBased Class
- HTTPBased Constructor
-
HTTPBased Properties
- HTTPBased.Body Property
- HTTPBased.CertificateValidationCallback Property
- HTTPBased.ClientCertificate Property
- HTTPBased.Domain Property
- HTTPBased.HeaderList Property
- HTTPBased.HeaderString Property
- HTTPBased.HTTPMethod Property
- HTTPBased.QueryList Property
- HTTPBased.QueryString Property
- HTTPBased.ResourcePath Property
- HTTPBased.ResponseRaw Property
- HTTPBased.TryException Property
- HTTPBased.UseSSL Property
- HTTPBased Methods
- HTTPBased.HTTPMethods Enumeration
- HTTPBased.ItemList Class
- TCPBased Class
-
HTTPBased Class