Hyperlinkv0.8.0-beta.28

HttpApiHyperlink

HttpApiHyperlink.Serviceconstsrc/HttpApiHyperlink.ts:429
<Self>(): <
  ApiId extends string,
  Groups extends HttpApiGroup.Constraint,
  const Name extends string
>(
  name: Name,
  api: HttpApiType.HttpApi<ApiId, Groups>,
  config?: Omit<HttpApiHyperlinkConfig<ApiId, Groups, Name>, "name">
) => Context.ServiceClass<Self, Name, HttpApiClient.Client<Groups>> & {
  readonly layer: Layer.Layer<
    Self,
    never,
    HttpClient.HttpClient | Scope.Scope
  >
}

Class factory: declare a typed HttpApi client with a baked-in .layer.

constructors
export const Service = httpApiResourceService;