nopasaran.http_2_utils.send_ping_frame

nopasaran.http_2_utils.send_ping_frame(conn: H2Connection, sock: socket, frame_data: Dict)

Send a PING frame

Args:

conn: H2Connection instance sock: Socket to send data on frame_data: Frame configuration dictionary containing:

  • data (optional): 8 bytes of data to include in the PING

  • flags (optional): Dictionary of flags to set