We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ffa7ba commit 388f755Copy full SHA for 388f755
src/server/uws/RpcApp.ts
@@ -113,7 +113,7 @@ export class RpcApp<Ctx extends ConnectionContext> implements Printable {
113
return this;
114
}
115
116
- public enableHttpRpc(path = '/rpc'): this {
+ public enableHttpRpc(path = '/rx'): this {
117
this.routeRaw('POST', path, async (ctx: Ctx) => {
118
try {
119
const res = ctx.res!;
@@ -143,7 +143,7 @@ export class RpcApp<Ctx extends ConnectionContext> implements Printable {
143
144
145
146
- public enableWsRpc(path = '/rpc'): this {
+ public enableWsRpc(path = '/rx'): this {
147
const maxBackpressure = 4 * 1024 * 1024;
148
const augmentContext = this.options.augmentContext ?? noop;
149
const options = this.options;
0 commit comments