You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Performs an {@link HttpMethod.Put} request on the {@link uri}. Sets {@link HttpHeader.IfMatch} if there is a cached {@link HttpHeader.ETag} to detect lost updates.
47
+
* @param signal Used to cancel the request.
46
48
* @throws {@link ConcurrencyError}: The entity has changed since it was last retrieved with {@link getContent}. Your changes were rejected to prevent a lost update.
* Performs an {@link HttpMethod.Delete} request on the {@link uri}. Sets {@link HttpHeader.IfMatch} if there is a cached {@link HttpHeader.ETag} to detect lost updates.
66
+
* @param signal Used to cancel the request.
64
67
* @throws {@link ConcurrencyError}: The entity has changed since it was last retrieved with {@link getContent}. Your changes were rejected to prevent a lost update.
* Determines whether the element currently exists.
@@ -86,6 +89,7 @@ export class ElementEndpoint<TEntity> extends ETagEndpointBase {
86
89
/**
87
90
* Modifies an existing `TEntity` by merging changes on the server-side.
88
91
* @param entity The `TEntity` data to merge with the existing element.
92
+
* @param signal Used to cancel the request.
89
93
* @returns The `TEntity` as returned by the server, possibly with additional fields set. undefined if the server does not respond with a result entity.
90
94
* @throws {@link ConcurrencyError}: The entity has changed since it was last retrieved with {@link read}. Your changes were rejected to prevent a lost update.
@@ -68,15 +69,16 @@ export class GenericCollectionEndpoint<TEntity, TElementEndpoint extends Element
68
69
/**
69
70
* Adds a `TEntity` as a new element to the collection.
70
71
* @param entity The new `TEntity`.
72
+
* @param signal Used to cancel the request.
71
73
* @returns The `TEntity` as returned by the server, possibly with additional fields set. undefined if the server does not respond with a result entity.
0 commit comments