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