Easy client-server communication
Project description
Hoist
Easy client-server communication
Quick Example
import hoist
server = hoist.start("test")
@server.receive("hello")
async def hello(message: hoist.Message) -> None:
print("server got hello")
await message.reply("hi")
import hoist
@hoist.connect_with("test")
async def main(server: hoist.Connection):
@server.receive("hi")
async def hello():
print("client got hi")
await server.message("hello")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hoist_http-1.0.0b1.tar.gz
(27.9 kB
view hashes)
Built Distribution
Close
Hashes for hoist_http-1.0.0b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94971468fe20f60ba18e50da88e395560c02a7a7f7d5fe1c57a8791674012d57 |
|
MD5 | 91361eed5cfeeadd93d16d0f5b5433df |
|
BLAKE2b-256 | 138d3568259cd614d5e4b5db7ab75ebb7367e82813d5d18b2ffabb4520760f70 |