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.67 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.66 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.65 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.64 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.63 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.62 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.61 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.60 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.59 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.58 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.57 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.56 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.55 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.54 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.53 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.52 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.51 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.50 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.49 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.48 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json