Skip to main content Link Search Menu Expand Document (external link)

HttpRpcRouter overview

Added in v1.0.0


Table of contents


conversions

toHttpApp

Signature

export declare const toHttpApp: {
  (options?: {
    readonly spanPrefix?: string
  }): <R extends Router.RpcRouter<any, any>>(
    self: R
  ) => App.Default<ServerError.RequestError, Router.RpcRouter.Context<R>>
  <R extends Router.RpcRouter<any, any>>(
    self: R,
    options?: { readonly spanPrefix?: string }
  ): App.Default<ServerError.RequestError, Router.RpcRouter.Context<R>>
}

Added in v1.0.0