Sha256: 88615f006d30b8321bd4e2962804daa08808775459f8aa3eb47042acec1476f8

Contents?: true

Size: 1.39 KB

Versions: 4

Compression:

Stored size: 1.39 KB

Contents

{
  "schema_type": "object",
  "ree_version": "1.0.1",
  "name": "http_options",
  "path": "packages/ree_http/package/ree_http/functions/http_options.rb",
  "mount_as": "fn",
  "class": "ReeHttp::HttpOptions",
  "factory": null,
  "methods": [
    {
      "doc": "Sends OPTIONS 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_options.schema.json
ree_lib-1.0.2 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_options.schema.json
ree_lib-1.0.1 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_options.schema.json
ree_lib-1.0.0 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_options.schema.json