Skip to content

[nio] Provide more flexibility for server streaming contexts to send messages #539

@glbrntt

Description

@glbrntt

Similar to #537, we should allows users to have more flexibility in how they send messages. At the moment they only have:

  • sendResponse(message:) -> EventLoopFuture<Void>

Ideally there should be options to:

  • provide an optional promise
  • choose whether to flush or not
  • send multiple messages
  • manually flush

This would bring it into alignment to the client with changes made in #538.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementImprovements to existing feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions