HttpRpcResolver 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>>,
Schema.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
) => Schema.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