IResource.withUrlForEndpoint
Method
interface IResource { // ... omitted for brevity withUrlForEndpoint(endpointName: string, callback: (obj: ResourceUrlAnnotation) => Promise<void>): IResource;}Signature
method
withUrlForEndpointbuilderRegisters a callback to update the URL displayed for the endpoint with the specified name.
withUrlForEndpoint(endpointName: string, callback: (obj: ResourceUrlAnnotation) => Promise<void>): IResourceParameters
endpointNamestringcallback(obj: ResourceUrlAnnotation) => Promise<void>Returns
IResourceDefined on
This method is defined on the following type: