Preparing search index...
The search index is not available @tomic
Defined in lib/dist/src/client.d.ts:33
Constructors
constructor
new Client( fetchOverride?: ( ( input: RequestInfo | URL , init?: RequestInit ) => Promise < Response > ) ) : Client
Parameters
Optional
fetchOverride: ( ( input: RequestInfo | URL , init?: RequestInit ) => Promise < Response > )
( input: RequestInfo | URL , init?: RequestInit ) : Promise < Response >
Parameters
input: RequestInfo | URL
Optional
init: RequestInit
Returns Promise < Response >
Defined in lib/dist/src/client.d.ts:35
Properties
Private
Optional
__fetch Override
__fetch Override?: any
Defined in lib/dist/src/client.d.ts:34
Accessors
Private
fetch
get fetch( ) : any
Returns any
Defined in lib/dist/src/client.d.ts:36
Methods
post Commit
post Commit( commit: Commit , endpoint: string ) : Promise < Commit >
Returns Promise < Commit >
Defined in lib/dist/src/client.d.ts:54
set Fetch
set Fetch( fetchOverride: ( ( input: RequestInfo | URL , init?: RequestInit ) => Promise < Response > ) ) : void
Parameters
fetchOverride: ( ( input: RequestInfo | URL , init?: RequestInit ) => Promise < Response > )
( input: RequestInfo | URL , init?: RequestInit ) : Promise < Response >
Parameters
input: RequestInfo | URL
Optional
init: RequestInit
Returns Promise < Response >
Returns void
Defined in lib/dist/src/client.d.ts:46
upload Files
upload Files( files: File [] , serverUrl: string , agent: Agent , parent: string ) : Promise < Resource [] >
Parameters
files: File []
serverUrl: string
parent: string
Returns Promise < Resource [] >
Defined in lib/dist/src/client.d.ts:62
Static
is Valid Subject
is Valid Subject( subject: undefined | string ) : boolean
Parameters
subject: undefined | string
Returns boolean
Defined in lib/dist/src/client.d.ts:40
Static
remove Query Params FromURL
remove Query Params FromURL( subject: string ) : string
Returns string
Defined in lib/dist/src/client.d.ts:45
Static
try Valid Subject
try Valid Subject( subject: undefined | string ) : void
Parameters
subject: undefined | string
Returns void
Defined in lib/dist/src/client.d.ts:38
Contains a
fetch
instance, provides methods to GET and POST several types