Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
vitix
master
ConfigReader
Configuracion
Internet
InternetDeMentira
MultiplesServidores
Pedido
RandomMentira
Regla
ReglaFactory
ReglaNoExiste
Respuesta
RespuestaError
Tonel
UnServidor
Vitix
Built with Crystal 1.9.2
2023-10-07 16:57:01 UTC
class
Pedido
Pedido
Reference
Object
Defined in:
vitix/outer_space/pedido.cr
Constructors
.new
(url : String, metodo : String =
"GET"
, cuerpo : IO | Nil =
nil
)
Instance Method Summary
#con_host
(host)
#cuerpo
: IO?
#empieza_con?
(que)
#get?
#metodo
: String
#post?
#put?
#reintentar?
#sacar
(que)
#url
: String
Constructor Detail
def self.
new
(url : String, metodo : String =
"GET"
, cuerpo : IO | Nil =
nil
)
#
[
View source
]
Instance Method Detail
def
con_host
(host)
#
[
View source
]
def
cuerpo
: IO?
#
[
View source
]
def
empieza_con?
(que)
#
[
View source
]
def
get?
#
[
View source
]
def
metodo
: String
#
[
View source
]
def
post?
#
[
View source
]
def
put?
#
[
View source
]
def
reintentar?
#
[
View source
]
def
sacar
(que)
#
[
View source
]
def
url
: String
#
[
View source
]