tRPCttRPC
Powered by
Rasel HossainR
tRPC•2y ago•
1 reply
Rasel Hossain

TRPC Dynamic Procedure URL

I am currently using QStash as a message queue with TRPC. QStash is HTTP-based and in the example below, you can see that I call the TRPC procedure URL when publishing a message using QStash. My question is, how can I make this URL dynamic? Instead of repeatedly writing the full URL, I want to use a function call like
js 
trpc.subscription.updateSubscription.url
js 
trpc.subscription.updateSubscription.url
.
how can I do this in trpc?
image.png
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Get tRPC procedure latency?
ferdyFferdy / ❓-help
3y ago
Finding the Unused TRPC procedure...
0xtz00xtz / ❓-help
11mo ago
Multiple Inputs on TRPC Procedure?
jackhammer8234Jjackhammer8234 / ❓-help
3y ago
calling tRPC procedure from custom link
SparkSSpark / ❓-help
2y ago