Skip to content

@maxhealth.tech/prefab / actions / Fetch

Class: Fetch

Defined in: actions/client.ts:152

Base interface all actions implement

Implements

Constructors

Constructor

ts
new Fetch(url, opts?): Fetch;

Defined in: actions/client.ts:153

Parameters

ParameterType
urlstring
opts?FetchOpts

Returns

Fetch

Properties

url

ts
readonly url: string;

Defined in: actions/client.ts:154

Methods

toJSON()

ts
toJSON(): ActionJSON;

Defined in: actions/client.ts:158

Returns

ActionJSON

Implementation of

Action.toJSON

Released under the MIT License.