Skip to content

@epikodelabs/streamix


@epikodelabs/streamix / networking/src/public-api / useAccept

Function: useAccept() ​

useAccept(contentType): Middleware

Defined in: projects/libraries/streamix/networking/src/lib/httpClient.ts:156

Middleware that sets the Accept request header.

Parameters ​

contentType ​

string

Returns ​

Middleware

Released under the GNU AGPL v3 or later.