Sha256: 9f5dc7780eebbcd9bb391fad6afdd865836b9593dd8a5651d3ebfb8a1f47a4c9

Contents?: true

Size: 1.38 KB

Versions: 4

Compression:

Stored size: 1.38 KB

Contents

{
  "schema_type": "object",
  "ree_version": "1.0.1",
  "name": "http_post",
  "path": "packages/ree_http/package/ree_http/functions/http_post.rb",
  "mount_as": "fn",
  "class": "ReeHttp::HttpPost",
  "factory": null,
  "methods": [
    {
      "doc": "Sends POST HTTP request to a specified destination.\nSee http_exec for usage examples.",
      "throws": [

      ],
      "return": "Net::HTTPResponse",
      "args": [
        {
          "arg": "url",
          "type": "String"
        },
        {
          "arg": "opts",
          "type": "Ksplat[:headers? => HashOf[Or[String, Symbol], Or[String, Integer]], :body? => Or[String, Hash, File], :form_data? => HashOf[Or[Symbol, String], Or[Integer, Float, Bool, String, Array, File]], :write_timeout? => Integer, :timeout? => Integer, :redirects_count? => Integer, :strict_redirect_mode? => Bool, :query_params? => HashOf[Or[String, Symbol], Any], :force_ssl? => Bool, :ca_certs? => ArrayOf[File], :basic_auth? => {:username => String, :password => String}, :bearer_token? => String, :proxy? => {:address => String, :port? => Integer, :username? => String, :password? => String}]"
        },
        {
          "arg": "block",
          "type": "Block"
        }
      ]
    }
  ],
  "links": [
    {
      "target": "http_exec",
      "package_name": "ree_http",
      "as": "http_exec",
      "imports": [
        "OPTS_CONTRACT"
      ]
    }
  ]
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ree_lib-1.0.3 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_post.schema.json
ree_lib-1.0.2 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_post.schema.json
ree_lib-1.0.1 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_post.schema.json
ree_lib-1.0.0 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_post.schema.json