GitHub

DaffExternalRouterInMemoryDriver

import { DaffExternalRouterInMemoryDriver } from '@daffodil/external-router/driver/in-memory'

The DaffExternalRouterInMemoryDriver is responsible for resolving a URL using the resolver in the provided configuration.

@Injectable()
class DaffExternalRouterInMemoryDriver implements DaffExternalRouterDriverInterface {
  resolve(url: string): Observable<DaffExternallyResolvableUrl>
}

() Methods

resolve
Observable<DaffExternallyResolvableUrl>

Resolves a URL with a platform. Returns information about the type of URL.

@param url The full URL path qualified with file extension and leading slash but without domain. i.e. /full/path/to/thing.html

Parameters
Parameterurl: string
Description