OpenAsync(HttpClient, Uri) Method

Definition

Assembly Broadside.Viewer.dll

Opens a remote document over HTTP range requests with default options, first page first.

public static Task<DocumentSession> OpenAsync(HttpClient httpClient, Uri uri)

Parameters

httpClient
HttpClient

The client the requests go through.

uri
Uri?

The document's address.

Returns

Task<DocumentSession>
The session; the caller closes it.

Remarks

ISO 32000-2 §7.5 and Annex F. Spec #33 viewer capability 5.