HttpPlugin Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A plugin that provides HTTP functionality.
public sealed class HttpPlugin
type HttpPlugin = class
Public NotInheritable Class HttpPlugin
- Inheritance
-
HttpPlugin
Constructors
HttpPlugin() |
Initializes a new instance of the HttpPlugin class. |
HttpPlugin(HttpClient) |
Initializes a new instance of the HttpPlugin class. |
Methods
DeleteAsync(String, CancellationToken) |
Sends an HTTP DELETE request to the specified URI and returns the response body as a string. |
GetAsync(String, CancellationToken) |
Sends an HTTP GET request to the specified URI and returns the response body as a string. |
PostAsync(String, String, CancellationToken) |
Sends an HTTP POST request to the specified URI and returns the response body as a string. |
PutAsync(String, String, CancellationToken) |
Sends an HTTP PUT request to the specified URI and returns the response body as a string. |