refactor: migrate legacy wire namespace to wrn
This commit is contained in:
1 parent
ec23dd4c93
commit
2c960fc1dc
488 files changed
+27306
-19063
No files matched your search
@@ -5,7 +5,7 @@
|
||||
|
||||
import type { Context, Middleware } from "./context.ts";
|
||||
|
||||
export const CSRF_COOKIE = "wire-csrf";
|
||||
export const CSRF_COOKIE = "wrn-csrf";
|
||||
export const CSRF_HEADER = "x-csrf-token";
|
||||
|
||||
const SAFE_METHODS = new Set(["GET", "HEAD", "OPTIONS"]);
|
||||
|
||||
@@ -193,7 +193,7 @@ export interface RealtimeEnvelope {
|
||||
}
|
||||
|
||||
/**
|
||||
* A pub/sub bridge for horizontal scaling. Wire the registry to a shared bus
|
||||
* A pub/sub bridge for horizontal scaling. WrNexus the registry to a shared bus
|
||||
* (Redis pub/sub, NATS, …): local broadcasts/`toUser` sends are published to
|
||||
* peers, and messages received from peers are delivered via `registry.deliver`.
|
||||
* Connection-targeted sends (`send`, `to(id)`) stay local (ids are per-process).
|
||||
|
||||
Reference in new issue
Block a user