struct

Crig::HttpClient::MultipartForm

Inherits Struct < Value < Object

Constructors

new(parts : Array(Part) = [] of Part, boundary : String | Nil = nil)
Source

Class methods

generate_boundary
Source

Instance methods

boundary(boundary : String) : self
Source
boundary
Source
encode
Source
file(name : String, filename : String, content_type : String, data : Bytes) : self
Source
part(part : Part) : self
Source
parts
Source
text(name : String, value : String) : self
Source