Sha256: b9afb9fa65ae80a58ad100246ac0be826202f2bd7084c112baaad6e7a71804b5

Contents?: true

Size: 1.66 KB

Versions: 17

Compression:

Stored size: 1.66 KB

Contents

# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `websocket-extensions` gem.
# Please instead update this file by running `bin/tapioca sync`.

# typed: true

module WebSocket
end

class WebSocket::Extensions
  def initialize; end

  def activate(header); end
  def add(ext); end
  def close; end
  def generate_offer; end
  def generate_response(header); end
  def process_incoming_message(message); end
  def process_outgoing_message(message); end
  def valid_frame_rsv(frame); end
  def valid_frame_rsv?(frame); end

  private

  def reserve(ext); end
  def reserved?(ext); end
end

class WebSocket::Extensions::ExtensionError < ::ArgumentError
end

WebSocket::Extensions::MESSAGE_OPCODES = T.let(T.unsafe(nil), Array)

class WebSocket::Extensions::Parser
  class << self
    def parse_header(header); end
    def serialize_params(name, params); end
  end
end

WebSocket::Extensions::Parser::EXT = T.let(T.unsafe(nil), Regexp)

WebSocket::Extensions::Parser::EXT_LIST = T.let(T.unsafe(nil), Regexp)

WebSocket::Extensions::Parser::NOTOKEN = T.let(T.unsafe(nil), Regexp)

WebSocket::Extensions::Parser::NUMBER = T.let(T.unsafe(nil), Regexp)

WebSocket::Extensions::Parser::PARAM = T.let(T.unsafe(nil), Regexp)

class WebSocket::Extensions::Parser::ParseError < ::ArgumentError
end

WebSocket::Extensions::Parser::QUOTED = T.let(T.unsafe(nil), Regexp)

WebSocket::Extensions::Parser::TOKEN = T.let(T.unsafe(nil), Regexp)

module WebSocket::Mask
  class << self
    def mask(_arg0, _arg1); end
  end
end

class WebSocket::Extensions::Offers
  def initialize; end

  def by_name(name); end
  def each_offer(&block); end
  def push(name, params); end
  def to_a; end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
packwerk-3.2.0 sorbet/rbi/gems/websocket-extensions@0.1.5.rbi
packwerk-3.1.0 sorbet/rbi/gems/websocket-extensions@0.1.5.rbi
packwerk-3.0.1 sorbet/rbi/gems/websocket-extensions@0.1.5.rbi
packwerk-3.0.0 sorbet/rbi/gems/websocket-extensions@0.1.5.rbi
packwerk-2.3.0 sorbet/rbi/gems/websocket-extensions@0.1.5.rbi
packwerk-2.2.2 sorbet/rbi/gems/websocket-extensions@0.1.5.rbi
packwerk-2.2.1 sorbet/rbi/gems/websocket-extensions@0.1.5.rbi
packwerk-2.2.0 sorbet/rbi/gems/websocket-extensions@0.1.5.rbi
packwerk-2.1.1 sorbet/rbi/gems/websocket-extensions@0.1.5.rbi
packwerk-2.1.0 sorbet/rbi/gems/websocket-extensions@0.1.5.rbi
packwerk-2.0.0 sorbet/rbi/gems/websocket-extensions@0.1.5.rbi
packwerk-1.4.0 sorbet/rbi/gems/websocket-extensions@0.1.5.rbi
packwerk-1.3.2 sorbet/rbi/gems/websocket-extensions@0.1.5.rbi
packwerk-1.3.1 sorbet/rbi/gems/websocket-extensions@0.1.5.rbi
packwerk-1.3.0 sorbet/rbi/gems/websocket-extensions@0.1.5.rbi
packwerk-1.2.0 sorbet/rbi/gems/websocket-extensions@0.1.5.rbi
packwerk-1.1.3 sorbet/rbi/gems/websocket-extensions@0.1.5.rbi