@hydra-cg/heracles.ts > IIriTemplateExpansionStrategy
Describes a strategy of IOperation and IIriTemplate expansion.
interface:
IIriTemplateExpansionStrategy
▸ createRequest(operation: IOperation, body?: IResource, auxResource?: any
): IOperation
Defined in IIriTemplateExpansionStrategy.ts:16
Creates a fully invocable IOperation taking into account possible IRI template used by the input operation.
Parameters:
Name | Type | Description |
---|---|---|
operation | IOperation | Source operation describing the request. |
Optional body |
IResource | Optional resource to be placed in the body of the request. |
Optional auxResource |
any |
Returns: IOperation