IResourceWithEndpoints.withHttpCommand
Method
interface IResourceWithEndpoints { // ... omitted for brevity withHttpCommand( path: string, displayName: string, options?: HttpCommandExportOptions): IResourceWithEndpoints;}Signature
method
withHttpCommandbuilderAdds an HTTP resource command
withHttpCommand( path: string, displayName: string, options?: HttpCommandExportOptions): IResourceWithEndpointsParameters
pathstringdisplayNamestringoptionsHttpCommandExportOptionsoptionalReturns
IResourceWithEndpointsDefined on
This method is defined on the following type: