Skip to main content

simple siduck for quic

Project description

aiosiduck

A simple QUIC request client

Installation

pip3 install aiosiduck

Example

import asyncio
from aiosiduck import SiduckClient

async def main():
    client = SiduckClient("127.0.0.1", "8088", "cert.pem")
    res = await client.request(b"i am a cat")
    print(res)
    res = await client.request(b"i am a dog")
    print(res)
    await client.close()

if __name__ == "__main__":
asyncio.run(main())

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

aiosiduck-0.1.2.tar.gz (2.3 kB view hashes)

Uploaded Source

Built Distribution

aiosiduck-0.1.2-py3-none-any.whl (2.8 kB view hashes)

Uploaded Python 3

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