mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-09 00:02:50 -04:00
24 lines
421 B
Plaintext
24 lines
421 B
Plaintext
module HTTPX::Transcoder
|
|
module JSON
|
|
JSON_REGEX: Regexp
|
|
|
|
def self?.encode: (_ToJson json) -> Encoder
|
|
def self?.decode: (HTTPX::Response response) -> _Decoder
|
|
|
|
class Encoder
|
|
extend Forwardable
|
|
include _Encoder
|
|
include _ToS
|
|
|
|
@raw: String
|
|
@charset: String
|
|
|
|
def content_type: () -> String
|
|
|
|
private
|
|
|
|
def initialize: (_ToJson json) -> untyped
|
|
end
|
|
end
|
|
end
|