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.47 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.46 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.45 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.44 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.43 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.42 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.41 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.40 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.39 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.38 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.37 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.36 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.35 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.34 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json
ree_lib-1.0.33 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/execute_request.schema.json