Skip to main content

Internal server side implementation of trame

Project description

This package is not supposed to be used by iteself but rather should come as a dependency of trame. For any specificity, please refer to the trame documentation.

Community

Enjoying trame?

Share your experience with a testimonial or with a brand approval.

Environments variables

  • TRAME_LOG_NETWORK : Path to log file for capturing network exchange. (default: None)

  • TRAME_WS_MAX_MSG_SIZE : Maximum size in bytes of any ws message. (default: 10MB)

  • TRAME_WS_HEART_BEAT : Time in second before assuming the server is non-responsive. (default: 30s)

Life cycle callbacks

Life cycle events are directly managed on the application controller and are prefixed with on_*.

  • on_server_ready : All protocols initialized and available for client to connect

  • on_client_connected : Connection established to server

  • on_client_exited : Linked to browser “beforeunload” event

  • on_server_exited : Trame is exiting its event loop

  • on_server_reload : If callback registered it is use for reloading server side modules

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

trame-server-2.0.0rc1.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

trame_server-2.0.0rc1-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file trame-server-2.0.0rc1.tar.gz.

File metadata

  • Download URL: trame-server-2.0.0rc1.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.5

File hashes

Hashes for trame-server-2.0.0rc1.tar.gz
Algorithm Hash digest
SHA256 c2ec4bfb9f92c8110876db12fc03b4bf4f11a6f557ea13943539b9abb8e7e8c8
MD5 083479ef1a9d16f40fa28a29a547e083
BLAKE2b-256 f7de77aea898a8cca6e8311e1b8fb280430aebc3bfa37eb03a55cb38861b882c

See more details on using hashes here.

Provenance

File details

Details for the file trame_server-2.0.0rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for trame_server-2.0.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 b7b15610e5d0e1b35c97f64a63b7a8d80cb0a7d96d1e2d4b234d8425e53a06b7
MD5 9d81df53457e4278e0450d4d69861426
BLAKE2b-256 3a50a9e31eee4f3a50eb879d73148e9bd8879a5d503d09c0f9a7cce22ebff4dc

See more details on using hashes here.

Provenance

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