Sha256: d9300340a8f1ac2e8be88d65729baf6250227837b29a086a18ff2cc8b92ea76b
Contents?: true
Size: 514 Bytes
Versions: 2
Compression:
Stored size: 514 Bytes
Contents
# frozen_string_literal: true module LLHttp # Delegate for handling callbacks. Subclass this, implementing the necessary methods. # class Delegate def on_message_begin end def on_url(url) end def on_status(status) end def on_header_field(field) end def on_header_value(value) end def on_headers_complete end def on_body(body) end def on_message_complete end def on_chunk_header end def on_chunk_complete end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
llhttp-0.0.2 | lib/llhttp/delegate.rb |
llhttp-0.0.1 | lib/llhttp/delegate.rb |