Interface GraphQLSubscriptionHandler.FrameSender

Enclosing class:
GraphQLSubscriptionHandler

public static interface GraphQLSubscriptionHandler.FrameSender
Callback interface for sending text frames to the client, with optional delay support.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    send(io.netty.channel.ChannelHandlerContext ctx, String text, Delay delay)
    Send a text frame, optionally after a delay.
  • Method Details

    • send

      void send(io.netty.channel.ChannelHandlerContext ctx, String text, Delay delay)
      Send a text frame, optionally after a delay.
      Parameters:
      ctx - the channel context
      text - the text to send
      delay - optional delay before sending (may be null)