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 0f08c00 commit d32f398Copy full SHA for d32f398
src/client.ts
@@ -324,10 +324,13 @@ export interface ICreateClientOpts {
324
localTimeoutMs?: number;
325
326
/**
327
- * Set to true to use
328
- * Authorization header instead of query param to send the access token to the server.
+ * Set to false to send the access token to the server via a query parameter rather
+ * than the Authorization HTTP header.
329
*
330
- * Default false.
+ * Note that as of v1.11 of the Matrix spec, sending the access token via a query
331
+ * is deprecated.
332
+ *
333
+ * Default true.
334
*/
335
useAuthorizationHeader?: boolean;
336
0 commit comments