class
Google::Apis::Core::BatchRequest
- Google::Apis::Core::BatchRequest
- Reference
- Object
Defined in:
google/apis/core/batch_request.crConstant Summary
-
MAX_BATCH_SIZE =
50
Constructors
Instance Method Summary
- #add(method : String, path : String, body : String | Nil = nil, headers : Hash(String, String) = {} of String => String, &callback : HTTP::Client::Response -> ) : Nil
- #add(method : String, path : String, body : String | Nil = nil, headers : Hash(String, String) = {} of String => String) : Nil
- #entries : Array(Entry)
- #execute : Array(HTTP::Client::Response)
Constructor Detail
def self.new(host : String, batch_path : String = "/batch/youtube/v3", authorization : String | Nil = nil)
#
Instance Method Detail
def add(method : String, path : String, body : String | Nil = nil, headers : Hash(String, String) = {} of String => String, &callback : HTTP::Client::Response -> ) : Nil
#
def add(method : String, path : String, body : String | Nil = nil, headers : Hash(String, String) = {} of String => String) : Nil
#