Home
About
Corporate Site
About
tRPC
tRPC
deno
TypeScript
2023年1月25日
tRPCをDenoで試す
巷で噂になっているtRPCを触ってみたいと思い、せっかくなんでDenoで動かしてみました。 普段はOpenaAPIを使用している。そこからClient,Sever両方にコードを生成し、ClientからはSever側で実行される同じ名前の関数を実行してリクエストを飛ばしているため、RPCっぽい挙動になっている。 ※ ClientはReactで動かそうと思いましたが、それはまた次回。 RPCとは > >Remote Procedure Call is a software communication protocol that one program can use to request a service from a program located in another computer on a network without having to understand the network's details. RPC is used to call other processes on the remote systems like a local system. A pr