Sha256: 40a677ed69bc7fd995c8a423675f0a41d5868797f9528d2945495e32714aa70b

Contents?: true

Size: 1.39 KB

Versions: 28

Compression:

Stored size: 1.39 KB

Contents

{
  "schema_type": "object",
  "schema_version": "1.0",
  "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

28 entries across 28 versions & 1 rubygems

Version Path
ree_lib-1.0.11 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_options.schema.json
ree_lib-1.0.10 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_options.schema.json
ree_lib-1.0.9 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_options.schema.json
ree_lib-1.0.8 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_options.schema.json
ree_lib-1.0.7 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_options.schema.json
ree_lib-1.0.6 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_options.schema.json
ree_lib-1.0.5 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_options.schema.json
ree_lib-1.0.4 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_options.schema.json