class Puma::Client

def can_close?

Other tags:
    Version: - 5.0.0
def can_close?
  # Allow connection to close if we're not in the middle of parsing a request.
  @parsed_bytes == 0
end