Share via


HttpPlugin Class

Definition

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.

Applies to