IUrlResolver Interface
Packages > @fluidframework/driver-definitions > IUrlResolver
Signature:
export interface IUrlResolver
Methods
Method | Description |
---|---|
getAbsoluteUrl(resolvedUrl, relativeUrl) | |
resolve(request) |
Methods
getAbsoluteUrl
Signature:
getAbsoluteUrl(resolvedUrl: IResolvedUrl, relativeUrl: string): Promise<string>;
Parameters
Parameter | Type | Description |
---|---|---|
resolvedUrl | IResolvedUrl | |
relativeUrl | string |
Returns:
Promise<string>
resolve
Signature:
resolve(request: IRequest): Promise<IResolvedUrl | undefined>;
Parameters
Parameter | Type | Description |
---|---|---|
request | IRequest |
Returns:
Promise<IResolvedUrl | undefined>