OuterUrlResolver Class

Packages > @fluidframework/iframe-driver > OuterUrlResolver

Signature:

export declare class OuterUrlResolver 

Constructors

List of constructors for this class
Constructor Modifiers Description
(constructor)(urlResolver) Constructs a new instance of the OuterUrlResolver class

Methods

List of methods on this class
Method Modifiers Description
connected()
createProxy()
getAbsoluteUrl(resolvedUrlFn, relativeUrl, codeDetailsFn)
resolve(request)

Constructors

OuterUrlResolver.(constructor)

Constructs a new instance of the OuterUrlResolver class

Signature:

constructor(urlResolver: IUrlResolver);

Parameters

List of parameters
Parameter Type Description
urlResolver IUrlResolver

Methods

connected

Signature:

connected(): Promise<void>;

Returns:

Promise<void>

createProxy

Signature:

createProxy(): IUrlResolverProxy;

Returns:

IUrlResolverProxy

getAbsoluteUrl

Signature:

getAbsoluteUrl(resolvedUrlFn: () => Promise<IResolvedUrl>, relativeUrl: string, codeDetailsFn: () => Promise<IFluidCodeDetails | undefined>): Promise<string>;

Parameters

List of parameters
Parameter Type Description
resolvedUrlFn () => Promise<IResolvedUrl>
relativeUrl string
codeDetailsFn () => Promise<IFluidCodeDetails | undefined>

Returns:

Promise<string>

resolve

Signature:

resolve(request: IRequest): Promise<() => Promise<IResolvedUrl | undefined>>;

Parameters

List of parameters
Parameter Type Description
request IRequest

Returns:

Promise<() => Promise<IResolvedUrl | undefined>>