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

HttpRpcResolverNoStream overview

Added in v1.0.0


Table of contents


constructors

make

Signature

export declare const make: <R extends Router.RpcRouter<any, any>>(
  client: Client.HttpClient
) => RequestResolver.RequestResolver<
  Rpc.Request<Router.RpcRouter.Request<R>>,
  Serializable.SerializableWithResult.Context<Router.RpcRouter.Request<R>>
>

Added in v1.0.0

makeClient

Signature

export declare const makeClient: <R extends Router.RpcRouter<any, any>>(
  baseUrl: string
) => Serializable.SerializableWithResult.Context<Router.RpcRouter.Request<R>> extends never
  ? Effect.Effect<
      Resolver.Client<RequestResolver.RequestResolver<Rpc.Request<Router.RpcRouter.Request<R>>>>,
      never,
      Client.HttpClient
    >
  : "request context is not `never`"

Added in v1.0.0