Interface FetchResourceOptions

Hierarchy

  • FetchResourceOptions

Properties

body?: string | ArrayBuffer

The body is only used combined with the POST method

from?: string

Pass a server URL if you want to use the /path endpoint to indirectly fetch through that server.

method?: "GET" | "POST"
signInfo?: { agent: Agent; serverURL: string }

if the HTTP request needs to be signed by an agent, pass the agent here.

Type declaration

  • agent: Agent
  • serverURL: string

Generated using TypeDoc