Partager via


Link Class

Definition

Represents a URI and the HTTP method which indicates the desired action for accessing the resource.

public sealed class Link
type Link = class
Public NotInheritable Class Link
Inheritance
Link

Constructors

Link(Uri, String, IEnumerable<KeyValuePair<String,String>>)

Initializes a new instance of the Link class.

Link(Uri)

Initializes a new instance of the Link class.

Properties

Headers

Gets the link headers.

Method

Gets the method.

Uri

Gets the URI.

Extension Methods

Invoke<TResponse>(Link, IPartner, JsonConverter)

Invokes a link and returns the result.

Invoke<TRequest,TResponse>(Link, IPartner, TRequest, JsonConverter)

Invokes a link with a request body and returns the result.

InvokeAsync<TResponse>(Link, IPartner, JsonConverter)

Asynchronously invokes a link and returns the result.

InvokeAsync<TRequest,TResponse>(Link, IPartner, TRequest, JsonConverter)

Asynchronously invokes a link with a request body and returns the result.

Applies to