JsonApiClient
Hierarchy
JsonApiClient
Index
Constructors
Properties
Methods
Constructors
constructor
+ new JsonApiClient(httpClient
: HttpClient): JsonApiClient
Parameters:
Name
Type
httpClient
HttpClient
Returns: JsonApiClient
Properties
httpClient
• httpClient: HttpClient
Methods
get
▸ get<D, M>(uri
: string): GetBuilder‹RawResponse‹D, M››
Type parameters:
▪ D: AnyData
▪ M: object
Parameters:
Name
Type
uri
string
Returns: GetBuilder‹RawResponse‹D, M››
getList
▸ getList<D, M>(uri
: string): GetListBuilder‹RawListResponse‹D, M›, object›
Type parameters:
▪ D: AnyData
▪ M: ListMetaData
Parameters:
Name
Type
uri
string
Returns: GetListBuilder‹RawListResponse‹D, M›, object›
patch
▸ patch<D, M>(uri
: string): UpdateBuilder‹RawResponse‹D, M››
Type parameters:
▪ D: AnyData
▪ M: object
Parameters:
Name
Type
uri
string
Returns: UpdateBuilder‹RawResponse‹D, M››
post
▸ post<D, M>(uri
: string): PostBuilder‹RawResponse‹D, M››
Type parameters:
▪ D: AnyData
▪ M: object
Parameters:
Name
Type
uri
string
Returns: PostBuilder‹RawResponse‹D, M››
put
▸ put<D, M>(uri
: string): UpdateBuilder‹RawResponse‹D, M››
Type parameters:
▪ D: AnyData
▪ M: object
Parameters:
Name
Type
uri
string
Returns: UpdateBuilder‹RawResponse‹D, M››
remove
▸ remove<D, M>(uri
: string): RemoveBuilder‹RawResponse‹D, M››
Type parameters:
▪ D: AnyData
▪ M: object
Parameters:
Name
Type
uri
string
Returns: RemoveBuilder‹RawResponse‹D, M››
Last updated