Sha256: 83edbc763c21ee3e9cf270e5ed992c0a931c540729e38a6b02186c1e981d29e2

Contents?: true

Size: 568 Bytes

Versions: 20

Compression:

Stored size: 568 Bytes

Contents

module HTTPX::Transcoder
  module JSON
    JSON_REGEX: Regexp

    def self?.encode: (_ToJson json) -> Encoder
    def self?.decode: (HTTPX::Response response) -> _Decoder

    def self?.json_load: (string source, ?json_options) -> untyped
    def self?.json_dump: (_ToJson obj, *untyped) -> String

    class Encoder
      extend Forwardable

      @raw: String
      @charset: String

      def bytesize: () -> Integer

      def content_type: () -> String

      def to_s: () -> String

      private

      def initialize: (_ToJson json) -> void
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
httpx-1.3.4 sig/transcoder/json.rbs
httpx-1.3.3 sig/transcoder/json.rbs
httpx-1.3.2 sig/transcoder/json.rbs
httpx-1.3.1 sig/transcoder/json.rbs
httpx-1.3.0 sig/transcoder/json.rbs
httpx-1.2.6 sig/transcoder/json.rbs
httpx-1.2.4 sig/transcoder/json.rbs
httpx-1.2.3 sig/transcoder/json.rbs
httpx-1.2.2 sig/transcoder/json.rbs
httpx-1.2.1 sig/transcoder/json.rbs
httpx-1.2.0 sig/transcoder/json.rbs
httpx-1.1.5 sig/transcoder/json.rbs
httpx-1.1.4 sig/transcoder/json.rbs
httpx-1.1.3 sig/transcoder/json.rbs
httpx-1.1.2 sig/transcoder/json.rbs
httpx-1.1.1 sig/transcoder/json.rbs
httpx-1.1.0 sig/transcoder/json.rbs
httpx-1.0.2 sig/transcoder/json.rbs
httpx-1.0.1 sig/transcoder/json.rbs
httpx-1.0.0 sig/transcoder/json.rbs