Skip to main content

A Matrix Synapse module which implements MSC3886

Project description

This is an implementation of MSC3886 for Synapse.

Usage

  1. Install the module to make it available to your Synapse environment:

    pip install matrix-http-rendezvous-synapse
  2. Enable the module in your homeserver.yaml:

    modules:
      - module: matrix_http_rendezvous_synapse.SynapseRendezvousModule
        config:
          prefix: /_synapse/client/org.matrix.msc3886/rendezvous
  3. Make the module available at the actual API endpoint in the Client-Server API by adding this to your homeserver.yaml:

    experimental_features:
      msc3886_endpoint: /_synapse/client/org.matrix.msc3886/rendezvous
  4. Run Synapse with the asyncio reactor enabled:

    SYNAPSE_ASYNC_IO_REACTOR=1 python -m synapse.app.homeserver

Configuration options

Apart from the prefix the following config options are available:

  • ttl: The time-to-live of the rendezvous session in seconds. Defaults to 60.

  • max_bytes: The maximum number of bytes that can be sent in a single request. Defaults to 4096.

An example configuration setting these and a custom prefix would like:

modules:
  - module: matrix_http_rendezvous_synapse.SynapseRendezvousModule
    config:
      prefix: /rendezvous
      ttl: 15                   # seconds
      max_bytes: 10240          # 10 KiB

experimental_features:
  msc3886_endpoint: /rendezvous # this should match above

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

matrix_http_rendezvous_synapse-0.1.5.tar.gz (51.3 kB view hashes)

Uploaded Source

Built Distributions

matrix_http_rendezvous_synapse-0.1.5-cp37-abi3-musllinux_1_2_x86_64.whl (1.8 MB view hashes)

Uploaded CPython 3.7+ musllinux: musl 1.2+ x86-64

matrix_http_rendezvous_synapse-0.1.5-cp37-abi3-musllinux_1_2_aarch64.whl (1.8 MB view hashes)

Uploaded CPython 3.7+ musllinux: musl 1.2+ ARM64

matrix_http_rendezvous_synapse-0.1.5-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.8 MB view hashes)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ x86-64

matrix_http_rendezvous_synapse-0.1.5-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.8 MB view hashes)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ARM64

matrix_http_rendezvous_synapse-0.1.5-cp37-abi3-macosx_11_0_arm64.whl (2.3 MB view hashes)

Uploaded CPython 3.7+ macOS 11.0+ ARM64

matrix_http_rendezvous_synapse-0.1.5-cp37-abi3-macosx_10_7_x86_64.whl (2.5 MB view hashes)

Uploaded CPython 3.7+ macOS 10.7+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page