Skip to content

Commit

Permalink
Clean up docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mullermp committed Jun 10, 2024
1 parent 3c187c7 commit 67da258
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/http/2/compressor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ def size_check(cmd)
# Responsible for encoding header key-value pairs using HPACK algorithm.
class Compressor
# @param options [Hash] encoding options
# @see EncodingContext#initialize
def initialize(**options)
@cc = EncodingContext.new(**options)
end
Expand Down Expand Up @@ -463,12 +464,9 @@ def encode(headers)
# Responsible for decoding received headers and maintaining compression
# context of the opposing peer. Decompressor must be initialized with
# appropriate starting context based on local role: client or server.
#
# @example
# server_role = Decompressor.new(:request)
# client_role = Decompressor.new(:response)
class Decompressor
# @param options [Hash] decoding options. Only :table_size is effective.
# @see EncodingContext#initialize
def initialize(**options)
@cc = EncodingContext.new(**options)
end
Expand Down

0 comments on commit 67da258

Please sign in to comment.