Rest |
The RestClient type exposes the following members.
| Name | Description | |
|---|---|---|
| RestClient | Initializes a new instance of the RestClient class. | |
| RestClient(IRestClientDescription) | Initializes a new instance of the RestClient class. |
| Name | Description | |
|---|---|---|
| Accept |
Gets or sets the format to accept data in
(Inherited from RestClientBase) | |
| ClientCertificates | Gets or sets the client certificate | |
| Credentials |
Gets or sets the credentials to be used for this client
(Inherited from RestClientBase) | |
| Description |
Get the description (configuration) of this service
(Inherited from RestClientBase) |
| Name | Description | |
|---|---|---|
| CopyResponseHeaders | Copies the response headers to a separate object that is not tied to the response. | |
| CreateCorrectRequestUri |
Create a uri for a request when the request uri is not valid.
(Inherited from RestClientBase) | |
| CreateHttpRequest |
Create the HTTP request
(Overrides RestClientBaseCreateHttpRequest(String, NameValueCollection)) | |
| DeleteTResult |
Executes an HTTP delete operation on the server
(Inherited from RestClientBase) | |
| Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from RestClientBase) | |
| 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) | |
| FireProgressChanged |
Fire that progress has changed
(Inherited from RestClientBase) | |
| FireResponding |
Fire responding event
(Inherited from RestClientBase) | |
| GetTResult(String) |
Gets the specified item
(Inherited from RestClientBase) | |
| GetTResult(String, KeyValuePairString, String) |
Fetches the specified result from the server
(Inherited from RestClientBase) | |
| GetTResult(String, NameValueCollection) |
Get the specified TResult (Inherited from RestClientBase) | |
| GetConnectTimeout | Gets the TimeSpan that represents the timeout for an InvokeInternalTBody, TResult(String, String, String, WebHeaderCollection, WebHeaderCollection, TBody, NameValueCollection) operation. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetReceiveTimeout | Gets the TimeSpan that represents the timeout for entire InvokeInternalTBody, TResult(String, String, String, WebHeaderCollection, WebHeaderCollection, TBody, NameValueCollection) operation including receive and deserialization. | |
| GetRequestCredentials |
Tries to retrieve the credentials that should be used for a HttpWebRequest request. Override this method to provide credentials to requests.
(Inherited from RestClientBase) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| Head(String) |
Executes a HEAD operation against the URL
(Inherited from RestClientBase) | |
| Head(String, NameValueCollection) |
Executes a HEAD operation against the URL
(Inherited from RestClientBase) | |
| InvokeTBody, TResult(String, String, TBody) |
Invokes the specified method against the URL provided
(Inherited from RestClientBase) | |
| InvokeTBody, TResult(String, String, String, TBody) |
Invokes the specified method against the URL provided
(Inherited from RestClientBase) | |
| InvokeTBody, TResult(String, String, String, TBody, NameValueCollection) |
Invoke the specified method against the server
(Inherited from RestClientBase) | |
| InvokeTBody, TResult(String, String, String, TBody, NameValueCollection, WebHeaderCollection) |
Invoke the specified method against the server
(Inherited from RestClientBase) | |
| InvokeInternalTBody, TResult |
Invokes the request. Implementations of RestClientBase must provide the implementation of InvokeInternalTBody, TResult(String, String, String, WebHeaderCollection, WebHeaderCollection, TBody, NameValueCollection).
(Overrides RestClientBaseInvokeInternalTBody, TResult(String, String, String, WebHeaderCollection, WebHeaderCollection, TBody, NameValueCollection)) | |
| InvokeInternalOldTBody, TResult | ||
| LockTResult |
Perform a lock on the specified resource
(Inherited from RestClientBase) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| OptionsTResult |
Executes an HTTP options against the server
(Inherited from RestClientBase) | |
| PatchTPatch(String, String, TPatch) |
Patches the specified resource at url with patch when ifMatch is true
(Inherited from RestClientBase) | |
| PatchTPatch(String, String, String, TPatch) |
Patches the specified resource at url with patch when ifMatch is true
(Inherited from RestClientBase) | |
| PostTBody, TResult(String, TBody) |
Execute a post against the url (Inherited from RestClientBase) | |
| PostTBody, TResult(String, String, TBody) |
Execute a post against the url (Inherited from RestClientBase) | |
| PutTBody, TResult(String, TBody) |
Executes an HTTP PUT against the server
(Inherited from RestClientBase) | |
| PutTBody, TResult(String, String, TBody) |
Executes an HTTP PUT against the server
(Inherited from RestClientBase) | |
| ReadResponseBodyTResult | Read the response body from the from HttpWebResponse. | |
| RemoteCertificateValidation | Remote certificate validation errors | |
| SetRequestAcceptEncoding |
Sets the request Accept-Encoding header based on the Description for the client.
(Inherited from RestClientBase) | |
| SetRequestCertificateValidationCallback | Set the callback for certificate validation for the webrequest. | |
| SetRequestClientCertificate | Sets the client certificates on the webrequest. | |
| SetRequestHeaders | Sets the request headers on the webRequest using requestHeaders. Special headers that require parsing are handled. | |
| SetRequestProxy | Sets the proxy information on the webrequest. | |
| SetRequestRemoteData | Checks if any remote client information is available from RemoteEndpointUtil and appends it as headers to the webrequest. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| UnlockTResult |
Perform an unlock
(Inherited from RestClientBase) | |
| WriteRequestBodyAsyncTBody | Write the body of the request if provided to the HttpWebRequest. |
| Name | Description | |
|---|---|---|
| ProgressChanged |
Progress has changed
(Inherited from RestClientBase) | |
| Requesting |
Fired on request
(Inherited from RestClientBase) | |
| Responded |
Fired on response
(Inherited from RestClientBase) | |
| Responding |
Fired on response
(Inherited from RestClientBase) |
| Name | Description | |
|---|---|---|
| ConvertTReturn |
The purpose of this method is to convert object me to TReturn. Why?
Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast
so we have to copy.
(Defined by ExtensionMethods) | |
| WithControl |
With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions) |