Sha256: da6df410789b5f7294969560e5bea1ad614ca5bef6580bf23d2c179386e2b044

Contents?: true

Size: 1.05 KB

Versions: 15

Compression:

Stored size: 1.05 KB

Contents

# frozen_string_literal: true

module LLHttp
  # [public] Delegate for handling callbacks. Subclass this object and implement necessary methods.
  #
  #   class Delegate < LLHttp::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
  #
  #     def on_url_complete
  #       ...
  #     end
  #
  #     def on_status_complete
  #       ...
  #     end
  #
  #     def on_header_field_complete
  #       ...
  #     end
  #
  #     def on_header_value_complete
  #       ...
  #     end
  #   end
  #
  class Delegate
  end
end

Version data entries

15 entries across 15 versions & 3 rubygems

Version Path
llhttp-ffi-0.5.1 lib/llhttp/delegate.rb
direct7-0.0.18 vendor/bundle/ruby/2.7.0/gems/llhttp-ffi-0.4.0/lib/llhttp/delegate.rb
direct7-0.0.17 vendor/bundle/ruby/2.7.0/gems/llhttp-ffi-0.4.0/lib/llhttp/delegate.rb
direct7-0.0.16 vendor/bundle/ruby/2.7.0/gems/llhttp-ffi-0.4.0/lib/llhttp/delegate.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/llhttp-ffi-0.5.0/lib/llhttp/delegate.rb
direct7-0.0.13 vendor/bundle/ruby/2.7.0/gems/llhttp-ffi-0.4.0/lib/llhttp/delegate.rb
direct7-0.0.12 vendor/bundle/ruby/2.7.0/gems/llhttp-ffi-0.4.0/lib/llhttp/delegate.rb
direct7-0.0.11 vendor/bundle/ruby/2.7.0/gems/llhttp-ffi-0.4.0/lib/llhttp/delegate.rb
llhttp-ffi-0.5.0 lib/llhttp/delegate.rb
llhttp-ffi-0.4.0 lib/llhttp/delegate.rb
llhttp-ffi-0.3.1 lib/llhttp/delegate.rb
llhttp-ffi-0.3.0 lib/llhttp/delegate.rb
llhttp-ffi-0.2.0 lib/llhttp/delegate.rb
llhttp-ffi-0.1.0 lib/llhttp/delegate.rb
llhttp-ffi-0.0.1 lib/llhttp/delegate.rb