Skip to content

[design] remove QuicConnectionProtocol.create_stream() ? #169

Closed as not planned
@jlaine

Description

@jlaine

The QuicConnectionProtocol.create_stream() method was added to the API early on in the project to provide a way to create a raw pair of reader / writers. However, I have since realised that this is a very niche case, none of the examples use this API. It is more powerful to tap into the quic_event_received() callback.

Similarly the following should probably go:

  • the stream_handler argument to client.connect()
  • the stream_handler argument to server.listen()

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions