Sha256: c289237384fca69a4f4d7e7d2a12d917fc35e624aa6a4b9f9301e372923b3c23

Contents?: true

Size: 1.91 KB

Versions: 55

Compression:

Stored size: 1.91 KB

Contents

{
  "schema_type": "object",
  "schema_version": "1.1",
  "name": "execute_request",
  "path": "packages/ree_http/package/ree_http/functions/execute_request.rb",
  "mount_as": "fn",
  "class": "ReeHttp::ExecuteRequest",
  "factory": null,
  "methods": [
    {
      "doc": "Executes prepared Net::HTTPRequest.\n\nOptional options:\n  strict_redirect_mode - raise RedirectMethodError if strict_redirect_mode=true (default)\n  otherwise redirects with GET method if response code in [300, 301, 302]\n\n  redirects_count - raise TooManyRedirectsError if we have more redirects than specified otherwise proceed redirects\n\n  timeout - wait response timeout (defaults to 60 seconds)\n\n  write_timeout - send request timeout (defaults to 30 seconds)\n\n  force_ssl - force SSL on\n\n  ca_certs - sets path of a CA certification files\n\n  proxy - set proxy server auth",
      "throws": [
        "ReeHttp::HttpExceptions::TooManyRedirectsError",
        "ReeHttp::HttpExceptions::RedirectMethodError"
      ],
      "return": "Net::HTTPResponse",
      "args": [
        {
          "arg": "request",
          "arg_type": "req",
          "type": "Net::HTTPRequest"
        },
        {
          "arg": "opts",
          "arg_type": "keyrest",
          "type": "Ksplat[:write_timeout? => Integer, :timeout? => Integer, :redirects_count? => Integer, :strict_redirect_mode? => Bool, :force_ssl? => Bool, :ca_certs? => ArrayOf[File], :proxy? => {:address => String, :port? => Integer, :username? => String, :password? => String}]"
        },
        {
          "arg": "block",
          "arg_type": "block",
          "type": "Block"
        }
      ]
    }
  ],
  "links": [
    {
      "target": "build_request_executor",
      "package_name": "ree_http",
      "as": "build_request_executor",
      "imports": [

      ]
    },
    {
      "target": "slice",
      "package_name": "ree_hash",
      "as": "slice",
      "imports": [

      ]
    }
  ]
}

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
ree_lib-1.0.87 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.86 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.85 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.84 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.83 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.82 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.81 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.80 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.79 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.78 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.77 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.76 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.75 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.74 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.73 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.72 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.71 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.70 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.69 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.68 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json