Class: HTTPX::JSON::Encoder

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
sig/transcoder/json.rbs

Instance Method Summary collapse

Constructor Details

#initializeEncoder

Returns a new instance of Encoder.

Parameters:

  • json (_ToJson)


25
# File 'sig/transcoder/json.rbs', line 25

def initialize: (_ToJson json) -> void

Instance Method Details

#bytesizeInteger

Returns:

  • (Integer)


17
# File 'sig/transcoder/json.rbs', line 17

def bytesize: () -> Integer

#content_typeString

Returns:

  • (String)


19
# File 'sig/transcoder/json.rbs', line 19

def content_type: () -> String

#to_sString

Returns:

  • (String)


21
# File 'sig/transcoder/json.rbs', line 21

def to_s: () -> String