Compare commits

...

No commits in common. "master" and "v0.1.0" have entirely different histories.

74 changed files with 26101 additions and 614 deletions

1
.gitignore vendored
View File

@ -1,4 +1,3 @@
/docs/
/lib/ /lib/
/bin/ /bin/
/.shards/ /.shards/

View File

@ -1,6 +1,6 @@
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2020 your-name-here Copyright (c) 2019 Chris Watson
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

369
README.md
View File

@ -1,8 +1,56 @@
# Arachnid # Arachnid
### This project is no longer maintained. Please see [Mechanize](https://github.com/Kanezoh/mechanize.cr) for an alternative. Arachnid is a fast and powerful web scraping framework for Crystal. It provides an easy to use DSL for scraping webpages and processing all of the things you might come across.
Arachnid is a fast, soon to be multi-threading capable web crawler for Crystal. It recenty underwent a full rewrite for Crystal 0.35.1, so see the documentation below for updated usage instructions. - [Arachnid](#Arachnid)
- [Installation](#Installation)
- [Examples](#Examples)
- [Usage](#Usage)
- [Configuration](#Configuration)
- [Crawling](#Crawling)
- [`Arachnid#start_at(url, **options, &block : Agent ->)`](#Arachnidstartaturl-options-block--Agent)
- [`Arachnid#site(url, **options, &block : Agent ->)`](#Arachnidsiteurl-options-block--Agent)
- [`Arachnid#host(name, **options, &block : Agent ->)`](#Arachnidhostname-options-block--Agent)
- [Crawling Rules](#Crawling-Rules)
- [Events](#Events)
- [`every_url(&block : URI ->)`](#everyurlblock--URI)
- [`every_failed_url(&block : URI ->)`](#everyfailedurlblock--URI)
- [`every_url_like(pattern, &block : URI ->)`](#everyurllikepattern-block--URI)
- [`urls_like(pattern, &block : URI ->)`](#urlslikepattern-block--URI)
- [`all_headers(&block : HTTP::Headers)`](#allheadersblock--HTTPHeaders)
- [`every_resource(&block : Resource ->)`](#everyresourceblock--Resource)
- [`every_ok_page(&block : Resource ->)`](#everyokpageblock--Resource)
- [`every_redirect_page(&block : Resource ->)`](#everyredirectpageblock--Resource)
- [`every_timedout_page(&block : Resource ->)`](#everytimedoutpageblock--Resource)
- [`every_bad_request_page(&block : Resource ->)`](#everybadrequestpageblock--Resource)
- [`def every_unauthorized_page(&block : Resource ->)`](#def-everyunauthorizedpageblock--Resource)
- [`every_forbidden_page(&block : Resource ->)`](#everyforbiddenpageblock--Resource)
- [`every_missing_page(&block : Resource ->)`](#everymissingpageblock--Resource)
- [`every_internal_server_error_page(&block : Resource ->)`](#everyinternalservererrorpageblock--Resource)
- [`every_txt_page(&block : Resource ->)`](#everytxtpageblock--Resource)
- [`every_html_page(&block : Resource ->)`](#everyhtmlpageblock--Resource)
- [`every_xml_page(&block : Resource ->)`](#everyxmlpageblock--Resource)
- [`every_xsl_page(&block : Resource ->)`](#everyxslpageblock--Resource)
- [`every_doc(&block : Document::HTML | XML::Node ->)`](#everydocblock--DocumentHTML--XMLNode)
- [`every_html_doc(&block : Document::HTML | XML::Node ->)`](#everyhtmldocblock--DocumentHTML--XMLNode)
- [`every_xml_doc(&block : XML::Node ->)`](#everyxmldocblock--XMLNode)
- [`every_xsl_doc(&block : XML::Node ->)`](#everyxsldocblock--XMLNode)
- [`every_rss_doc(&block : XML::Node ->)`](#everyrssdocblock--XMLNode)
- [`every_atom_doc(&block : XML::Node ->)`](#everyatomdocblock--XMLNode)
- [`every_javascript(&block : Resource ->)`](#everyjavascriptblock--Resource)
- [`every_css(&block : Resource ->)`](#everycssblock--Resource)
- [`every_rss(&block : Resource ->)`](#everyrssblock--Resource)
- [`every_atom(&block : Resource ->)`](#everyatomblock--Resource)
- [`every_ms_word(&block : Resource ->)`](#everymswordblock--Resource)
- [`every_pdf(&block : Resource ->)`](#everypdfblock--Resource)
- [`every_zip(&block : Resource ->)`](#everyzipblock--Resource)
- [`every_image(&block : Resource ->)`](#everyimageblock--Resource)
- [`every_content_type(content_type : String | Regex, &block : Resource ->)`](#everycontenttypecontenttype--String--Regex-block--Resource)
- [`every_link(&block : URI, URI ->)`](#everylinkblock--URI-URI)
- [Content Types](#Content-Types)
- [Parsing HTML](#Parsing-HTML)
- [Contributing](#Contributing)
- [Contributors](#Contributors)
## Installation ## Installation
@ -12,147 +60,266 @@ Arachnid is a fast, soon to be multi-threading capable web crawler for Crystal.
dependencies: dependencies:
arachnid: arachnid:
github: watzon/arachnid github: watzon/arachnid
version: ~> 0.1.0
``` ```
2. Run `shards install` 2. Run `shards install`
## Usage ## Examples
First, of course, you need to require arachnid in your project: Arachnid provides an easy to use, powerful DSL for scraping websites.
```crystal ```crystal
require "arachnid" require "arachnid"
require "json"
# Let's build a sitemap of crystal-lang.org
# Links will be a hash of url to resource title
links = {} of String => String
# Visit a particular host, in this case `crystal-lang.org`. This will
# not match on subdomains.
Arachnid.host("https://crystal-lang.org") do |spider|
# Ignore the API secion. It's a little big.
spider.ignore_urls_like(/\/(api)\//)
spider.every_html_page do |page|
puts "Visiting #{page.url.to_s}"
# Ignore redirects for our sitemap
unless page.redirect?
# Add the url of every visited page to our sitemap
links[page.url.to_s] = page.title.to_s.strip
end
end
end
File.write("crystal-lang.org-sitemap.json", links.to_pretty_json)
``` ```
### The Agent Want to scan external links as well?
`Agent` is the class that does all the heavy lifting and will be the main one you interact with. To create a new `Agent`, use `Agent.new`.
```crystal ```crystal
agent = Arachnid::Agent.new # To make things interesting, this time let's download
``` # every image we find.
Arachnid.start_at("https://crystal-lang.org") do |spider|
# Set a base path to store all the images at
base_image_dir = File.expand_path("~/Pictures/arachnid")
Dir.mkdir_p(base_image_dir)
The initialize method takes a bunch of optional parameters: # You could also use `every_image`. This allows us to
# track the crawler though.
spider.every_resource do |resource|
puts "Scanning #{resource.url.to_s}"
#### `:client` if resource.image?
# Since we're going to be saving a lot of images
# let's spawn a new fiber for each one. This
# makes things so much faster.
spawn do
# Output directory for images for this host
directory = File.join(base_image_dir, resource.url.host.to_s)
Dir.mkdir_p(directory)
You can, if you wish, supply your own `HTTP::Client` instance to the `Agent`. This can be useful if you want to use a proxy, provided the proxy client extends `HTTP::Client`. # The name of the image
filename = File.basename(resource.url.path)
#### `:user_agent` # Save the image using the body of the resource
puts "Saving #{filename} to #{directory}"
The user agent to be added to every request header. You can override this on a per-host basis with either `:host_headers` or `:default_headers`. File.write(File.join(directory, filename), resource.body)
end
#### `:default_headers` end
end
The default headers to be used in every request.
#### `:host_headers`
Headers to be applied on a per-host basis. This is a hash `String (host name) => HTTP::Headers`.
#### `:queue`
The `Arachnid::Queue` instance to use for storing links waiting to be processed. The default is a `MemoryQueue` (which is the only one for now), but you can easily implement your own `Queue` using whatever you want as a backend.
#### `:stop_on_empty`
Whether or not to stop running when the queue is empty. This is true by default. If it's made false, the loop will continue when the queue empties, so be sure you have a way to keep adding items to the queue.
#### `:follow_redirects`
Whether or not to follow redirects (add them to the queue).
### Starting the Agent
There are four ways to start your Agent once it's been created. Here are some examples:
#### `#start_at`
`#start_at` starts the Agent running on a particular URL. It adds a single URL to the queue and starts there.
```crystal
agent.start_at("https://crystal-lang.org") do
# ...
end end
``` ```
#### `#site` ## Usage
`#site` starts the agent running at the given URL and adds a rule that keeps the agent restricted to the given site. This allows the agent to scan the given domain and any subdomains. For instance: ### Configuration
```crystal Arachnid has a ton of configration options which can be passed to the mehthods listed below in [Crawling](#crawling) and to the constructor for `Arachnid::Agent`. They are as follows:
agent.site("https://crystal-lang.org") do
# ...
end
```
The above will match `crystal-lang.org` and `forum.crystal-lang.org`, but not `github.com/crystal-lang` or any other site not within the `*.crystal-lang.org` space. - **read_timeout** - Read timeout
- **connect_timeout** - Connect timeout
- **max_redirects** - Maximum amount of redirects to follow
- **do_not_track** - Sets the DNT header
- **default_headers** - Default HTTP headers to use for all hosts
- **host_header** - HTTP host header to use
- **host_headers** - HTTP headers to use for specific hosts
- **user_agent** - sets the user agent for the crawler
- **referer** - Referer to use
- **fetch_delay** - Delay in between fetching resources
- **queue** - Preload the queue with urls
- **history** - Links that should not be visited
- **limit** - Maximum number of resources to visit
- **max_depth** - Maximum crawl depth
#### `#host` There are also a few class properties on `Arachnid` itself which are used as the defaults, unless overrided.
`#host` is like site, but with the added restriction of just remaining on the current domain path. Subdomains are not included. - **do_not_track**
- **max_redirects**
- **connect_timeout**
- **read_timeout**
- **user_agent**
```crystal ### Crawling
agent.host("crystal-lang.org") do
# ...
end
```
#### `#start` Arachnid provides 3 interfaces to use for crawling:
Provided you already have URIs in the queue ready to be scanned, you can also just use `#start` to start the Agent running. #### `Arachnid#start_at(url, **options, &block : Agent ->)`
```crystal `start_at` is what you want to use if you're going to be doing a full crawl of multiple sites. It doesn't filter any urls by default and will scan every link it encounters.
agent.enqueue("https://crystal-lang.org")
agent.enqueue("https://kemalcr.com")
agent.start
```
### Filters #### `Arachnid#site(url, **options, &block : Agent ->)`
URI's can be filtered before being enqueued. There are two kinds of filters, accept and reject. Accept filters can be used to ensure that a URI matches before being enqueued. Reject filters do the opposite, keeping URIs from being enqueued if they _do_ match. `site` constrains the crawl to a specific site. "site" in this case is defined as all paths within a domain and it's subdomains.
For instance: #### `Arachnid#host(name, **options, &block : Agent ->)`
```crystal `host` is similar to site, but stays within the domain, not crawling subdomains.
# This will filter out all sites where the host is not "crystal-lang.org"
agent.accept_filter { |uri| uri.host == "crystal-lang.org" }
```
If you want to ignore certain parts of the above filter: *Maybe `site` and `host` should be swapped? I don't know what is more intuitive.*
```crystal ### Crawling Rules
# This will ignore paths starting with "/api"
agent.reject_filter { |uri| uri.path.to_s.starts_with?("/api") }
```
The `#site` and `#host` methods add a default accept filter in order to keep things in the given site or host. Arachnid has the concept of **filters** for the purpose of filtering urls before visiting them. They are as follows:
### Resources - **hosts**
- [visit_hosts_like(pattern : String | Regex)](https://watzon.github.io/arachnid/Arachnid/Agent.html#visit_hosts_like%28pattern%29-instance-method)
- [ignore_hosts_like(pattern : String | Regex)](https://watzon.github.io/arachnid/Arachnid/Agent.html#ignore_hosts_like%28pattern%29-instance-method)
- **ports**
- [visit_ports_like(pattern : String | Regex)](https://watzon.github.io/arachnid/Arachnid/Agent.html#visit_ports-instance-method)
- [ignore_ports_like(pattern : String | Regex)](https://watzon.github.io/arachnid/Arachnid/Agent.html#ignore_ports-instance-method)
- **ports**
- [visit_ports_like(pattern : String | Regex)](https://watzon.github.io/arachnid/Arachnid/Agent.html#visit_ports_like%28pattern%29-instance-method)
- [ignore_ports_like(pattern : String | Regex)](https://watzon.github.io/arachnid/Arachnid/Agent.html#ignore_ports_like%28pattern%29-instance-method)
- **links**
- [visit_links_like(pattern : String | Regex)](https://watzon.github.io/arachnid/Arachnid/Agent.html#visit_links_like(pattern)-instance-method)
- [ignore_links_like(pattern : String | Regex)](https://watzon.github.io/arachnid/Arachnid/Agent.html#ignore_links_like(pattern)-instance-method)
- **urls**
- [visit_urls_like(pattern : String | Regex)](https://watzon.github.io/arachnid/Arachnid/Agent.html#visit_urls_like%28pattern%29-instance-method)
- [ignore_urls_like(pattern : String | Regex)](https://watzon.github.io/arachnid/Arachnid/Agent.html#ignore_urls_like%28pattern%29-instance-method)
- **exts**
- [visit_exts_like(pattern : String | Regex)](https://watzon.github.io/arachnid/Arachnid/Agent.html#visit_exts_like%28pattern%29-instance-method)
- [ignore_exts_like(pattern : String | Regex)](https://watzon.github.io/arachnid/Arachnid/Agent.html#ignore_exts_like%28pattern%29-instance-method)
All the above is useless if you can't do anything with the scanned resources, which is why we have the `Resource` class. Every scanned resource is converted into a `Resource` (or subclass) based on the content type. For instance, `text/html` becomes a `Resource::HTML` which is parsed using [kostya/myhtml](https://github.com/kostya/myhtml) for extra speed. All of these methods have the ability to also take a block instead of a pattern, where the block returns true or false. The only difference between `links` and `urls` in this case is with the block argument. `links` receives a `String` and `urls` a `URI`. Honestly I'll probably get rid of `links` soon and just make it `urls`.
Each resource has an associated `Agent#on_` method so you can do something when one of those resources is scanned: `exts` looks at the extension, if it exists, and fiters base on that.
```crystal ### Events
agent.on_html do |page|
puts typeof(page)
# => Arachnid::Resource::HTML
puts page.title Every crawled "page" is referred to as a resource, since sometimes they will be html/xml, sometimes javascript or css, and sometimes images, videos, zip files, etc. Every time a resource is scanned one of several events is called. They are:
# => The Title of the Page
end
```
Currently we have: #### `every_url(&block : URI ->)`
Pass each URL from each resource visited to the given block.
- `#on_html` #### `every_failed_url(&block : URI ->)`
- `#on_image` Pass each URL that could not be requested to the given block.
- `#on_script`
- `#on_stylesheet`
- `#on_xml`
There is also `#on_resource` which is called for every resource, including ones that don't match the above types. Resources all include, at minimum the URI at which the resource was found, and the response (`HTTP::Client::Response`) instance. #### `every_url_like(pattern, &block : URI ->)`
Pass every URL that the agent visits, and matches a given pattern, to a given block.
#### `urls_like(pattern, &block : URI ->)`
Same as `every_url_like`
#### `all_headers(&block : HTTP::Headers)`
Pass the headers from every response the agent receives to a given block.
#### `every_resource(&block : Resource ->)`
Pass every resource that the agent visits to a given block.
#### `every_ok_page(&block : Resource ->)`
Pass every OK resource that the agent visits to a given block.
#### `every_redirect_page(&block : Resource ->)`
Pass every Redirect resource that the agent visits to a given block.
#### `every_timedout_page(&block : Resource ->)`
Pass every Timeout resource that the agent visits to a given block.
#### `every_bad_request_page(&block : Resource ->)`
Pass every Bad Request resource that the agent visits to a given block.
#### `def every_unauthorized_page(&block : Resource ->)`
Pass every Unauthorized resource that the agent visits to a given block.
#### `every_forbidden_page(&block : Resource ->)`
Pass every Forbidden resource that the agent visits to a given block.
#### `every_missing_page(&block : Resource ->)`
Pass every Missing resource that the agent visits to a given block.
#### `every_internal_server_error_page(&block : Resource ->)`
Pass every Internal Server Error resource that the agent visits to a given block.
#### `every_txt_page(&block : Resource ->)`
Pass every Plain Text resource that the agent visits to a given block.
#### `every_html_page(&block : Resource ->)`
Pass every HTML resource that the agent visits to a given block.
#### `every_xml_page(&block : Resource ->)`
Pass every XML resource that the agent visits to a given block.
#### `every_xsl_page(&block : Resource ->)`
Pass every XML Stylesheet (XSL) resource that the agent visits to a given block.
#### `every_doc(&block : Document::HTML | XML::Node ->)`
Pass every HTML or XML document that the agent parses to a given block.
#### `every_html_doc(&block : Document::HTML | XML::Node ->)`
Pass every HTML document that the agent parses to a given block.
#### `every_xml_doc(&block : XML::Node ->)`
Pass every XML document that the agent parses to a given block.
#### `every_xsl_doc(&block : XML::Node ->)`
Pass every XML Stylesheet (XSL) that the agent parses to a given block.
#### `every_rss_doc(&block : XML::Node ->)`
Pass every RSS document that the agent parses to a given block.
#### `every_atom_doc(&block : XML::Node ->)`
Pass every Atom document that the agent parses to a given block.
#### `every_javascript(&block : Resource ->)`
Pass every JavaScript resource that the agent visits to a given block.
#### `every_css(&block : Resource ->)`
Pass every CSS resource that the agent visits to a given block.
#### `every_rss(&block : Resource ->)`
Pass every RSS feed that the agent visits to a given block.
#### `every_atom(&block : Resource ->)`
Pass every Atom feed that the agent visits to a given block.
#### `every_ms_word(&block : Resource ->)`
Pass every MS Word resource that the agent visits to a given block.
#### `every_pdf(&block : Resource ->)`
Pass every PDF resource that the agent visits to a given block.
#### `every_zip(&block : Resource ->)`
Pass every ZIP resource that the agent visits to a given block.
#### `every_image(&block : Resource ->)`
Passes every image resource to the given block.
#### `every_content_type(content_type : String | Regex, &block : Resource ->)`
Passes every resource with a matching content type to the given block.
#### `every_link(&block : URI, URI ->)`
Passes every origin and destination URI of each link to a given block.
### Content Types
Every resource has an associated content type and the `Resource` class itself provides several easy methods to check it. You can find all of them [here](https://watzon.github.io/arachnid/Arachnid/Resource/ContentTypes.html).
### Parsing HTML
Every HTML/XML resource has full access to the suite of methods provided by [Crystagiri](https://github.com/madeindjs/Crystagiri/) allowing you to more easily search by css selector.
## Contributing ## Contributing
@ -164,4 +331,4 @@ There is also `#on_resource` which is called for every resource, including ones
## Contributors ## Contributors
- [your-name-here](https://github.com/watzon) - creator and maintainer - [Chris Watson](https://github.com/watzon) - creator and maintainer

1087
docs/Arachnid.html Normal file

File diff suppressed because it is too large Load Diff

3975
docs/Arachnid/Agent.html Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,516 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 0.29.0">
<link href="../../css/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../../js/doc.js"></script>
<script type="text/javascript">
CrystalDoc.base_path = "../../";
</script>
<meta id="repository-name" content="github.com/watzon/arachnid">
<title>Arachnid::Agent::Actions - github.com/watzon/arachnid</title>
</head>
<body>
<div class="sidebar">
<div class="sidebar-header">
<div class="search-box">
<input type="search" class="search-input" placeholder="Search..." spellcheck="false" aria-label="Search">
</div>
<div class="repository-links">
<a href="../../index.html">README</a>
</div>
</div>
<div class="search-results" class="hidden">
<ul class="search-list"></ul>
</div>
<div class="types-list">
<ul>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid" data-name="arachnid">
<a href="../../Arachnid.html">Arachnid</a>
<ul>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid/Agent" data-name="arachnid::agent">
<a href="../../Arachnid/Agent.html">Agent</a>
<ul>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions" data-name="arachnid::agent::actions">
<a href="../../Arachnid/Agent/Actions.html">Actions</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Action" data-name="arachnid::agent::actions::action">
<a href="../../Arachnid/Agent/Actions/Action.html">Action</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Paused" data-name="arachnid::agent::actions::paused">
<a href="../../Arachnid/Agent/Actions/Paused.html">Paused</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/RuntimeError" data-name="arachnid::agent::actions::runtimeerror">
<a href="../../Arachnid/Agent/Actions/RuntimeError.html">RuntimeError</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipLink" data-name="arachnid::agent::actions::skiplink">
<a href="../../Arachnid/Agent/Actions/SkipLink.html">SkipLink</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipResource" data-name="arachnid::agent::actions::skipresource">
<a href="../../Arachnid/Agent/Actions/SkipResource.html">SkipResource</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Queue" data-name="arachnid::agent::queue">
<a href="../../Arachnid/Agent/Queue.html">Queue</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthCredential" data-name="arachnid::authcredential">
<a href="../../Arachnid/AuthCredential.html">AuthCredential</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthStore" data-name="arachnid::authstore">
<a href="../../Arachnid/AuthStore.html">AuthStore</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli" data-name="arachnid::cli">
<a href="../../Arachnid/Cli.html">Cli</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Action" data-name="arachnid::cli::action">
<a href="../../Arachnid/Cli/Action.html">Action</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library.html">Command_Main_command_of_clim_library</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap.html">Command_Sitemap</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::runproc">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize.html">Command_Summarize</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::runproc">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::runproc">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Count" data-name="arachnid::cli::count">
<a href="../../Arachnid/Cli/Count.html">Count</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap" data-name="arachnid::cli::sitemap">
<a href="../../Arachnid/Cli/Sitemap.html">Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/LastMod" data-name="arachnid::cli::sitemap::lastmod">
<a href="../../Arachnid/Cli/Sitemap/LastMod.html">LastMod</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/PageMap" data-name="arachnid::cli::sitemap::pagemap">
<a href="../../Arachnid/Cli/Sitemap/PageMap.html">PageMap</a>
</li>
</ul>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/CookieJar" data-name="arachnid::cookiejar">
<a href="../../Arachnid/CookieJar.html">CookieJar</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Document" data-name="arachnid::document">
<a href="../../Arachnid/Document.html">Document</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML" data-name="arachnid::document::html">
<a href="../../Arachnid/Document/HTML.html">HTML</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML/Tag" data-name="arachnid::document::html::tag">
<a href="../../Arachnid/Document/HTML/Tag.html">Tag</a>
</li>
</ul>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Resource" data-name="arachnid::resource">
<a href="../../Arachnid/Resource.html">Resource</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/ContentTypes" data-name="arachnid::resource::contenttypes">
<a href="../../Arachnid/Resource/ContentTypes.html">ContentTypes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/Cookies" data-name="arachnid::resource::cookies">
<a href="../../Arachnid/Resource/Cookies.html">Cookies</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/HTML" data-name="arachnid::resource::html">
<a href="../../Arachnid/Resource/HTML.html">HTML</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/StatusCodes" data-name="arachnid::resource::statuscodes">
<a href="../../Arachnid/Resource/StatusCodes.html">StatusCodes</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Rules" data-name="arachnid::rules(t)">
<a href="../../Arachnid/Rules.html">Rules</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/SessionCache" data-name="arachnid::sessioncache">
<a href="../../Arachnid/SessionCache.html">SessionCache</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/URI" data-name="uri">
<a href="../../URI.html">URI</a>
</li>
</ul>
</div>
</div>
<div class="main-content">
<h1 class="type-name">
<span class="kind">module</span> Arachnid::Agent::Actions
</h1>
<h2>Defined in:</h2>
<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/agent/actions.cr#L3" target="_blank">
arachnid/agent/actions.cr
</a>
<br/>
<div class="methods-inherited">
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,573 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 0.29.0">
<link href="../../../css/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../../../js/doc.js"></script>
<script type="text/javascript">
CrystalDoc.base_path = "../../../";
</script>
<meta id="repository-name" content="github.com/watzon/arachnid">
<title>Arachnid::Agent::Actions::Action - github.com/watzon/arachnid</title>
</head>
<body>
<div class="sidebar">
<div class="sidebar-header">
<div class="search-box">
<input type="search" class="search-input" placeholder="Search..." spellcheck="false" aria-label="Search">
</div>
<div class="repository-links">
<a href="../../../index.html">README</a>
</div>
</div>
<div class="search-results" class="hidden">
<ul class="search-list"></ul>
</div>
<div class="types-list">
<ul>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid" data-name="arachnid">
<a href="../../../Arachnid.html">Arachnid</a>
<ul>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid/Agent" data-name="arachnid::agent">
<a href="../../../Arachnid/Agent.html">Agent</a>
<ul>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions" data-name="arachnid::agent::actions">
<a href="../../../Arachnid/Agent/Actions.html">Actions</a>
<ul>
<li class=" current" data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Action" data-name="arachnid::agent::actions::action">
<a href="../../../Arachnid/Agent/Actions/Action.html">Action</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Paused" data-name="arachnid::agent::actions::paused">
<a href="../../../Arachnid/Agent/Actions/Paused.html">Paused</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/RuntimeError" data-name="arachnid::agent::actions::runtimeerror">
<a href="../../../Arachnid/Agent/Actions/RuntimeError.html">RuntimeError</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipLink" data-name="arachnid::agent::actions::skiplink">
<a href="../../../Arachnid/Agent/Actions/SkipLink.html">SkipLink</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipResource" data-name="arachnid::agent::actions::skipresource">
<a href="../../../Arachnid/Agent/Actions/SkipResource.html">SkipResource</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Queue" data-name="arachnid::agent::queue">
<a href="../../../Arachnid/Agent/Queue.html">Queue</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthCredential" data-name="arachnid::authcredential">
<a href="../../../Arachnid/AuthCredential.html">AuthCredential</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthStore" data-name="arachnid::authstore">
<a href="../../../Arachnid/AuthStore.html">AuthStore</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli" data-name="arachnid::cli">
<a href="../../../Arachnid/Cli.html">Cli</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Action" data-name="arachnid::cli::action">
<a href="../../../Arachnid/Cli/Action.html">Action</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library.html">Command_Main_command_of_clim_library</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap.html">Command_Sitemap</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::runproc">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize.html">Command_Summarize</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::runproc">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::runproc">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Count" data-name="arachnid::cli::count">
<a href="../../../Arachnid/Cli/Count.html">Count</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap" data-name="arachnid::cli::sitemap">
<a href="../../../Arachnid/Cli/Sitemap.html">Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/LastMod" data-name="arachnid::cli::sitemap::lastmod">
<a href="../../../Arachnid/Cli/Sitemap/LastMod.html">LastMod</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/PageMap" data-name="arachnid::cli::sitemap::pagemap">
<a href="../../../Arachnid/Cli/Sitemap/PageMap.html">PageMap</a>
</li>
</ul>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/CookieJar" data-name="arachnid::cookiejar">
<a href="../../../Arachnid/CookieJar.html">CookieJar</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Document" data-name="arachnid::document">
<a href="../../../Arachnid/Document.html">Document</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML" data-name="arachnid::document::html">
<a href="../../../Arachnid/Document/HTML.html">HTML</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML/Tag" data-name="arachnid::document::html::tag">
<a href="../../../Arachnid/Document/HTML/Tag.html">Tag</a>
</li>
</ul>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Resource" data-name="arachnid::resource">
<a href="../../../Arachnid/Resource.html">Resource</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/ContentTypes" data-name="arachnid::resource::contenttypes">
<a href="../../../Arachnid/Resource/ContentTypes.html">ContentTypes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/Cookies" data-name="arachnid::resource::cookies">
<a href="../../../Arachnid/Resource/Cookies.html">Cookies</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/HTML" data-name="arachnid::resource::html">
<a href="../../../Arachnid/Resource/HTML.html">HTML</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/StatusCodes" data-name="arachnid::resource::statuscodes">
<a href="../../../Arachnid/Resource/StatusCodes.html">StatusCodes</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Rules" data-name="arachnid::rules(t)">
<a href="../../../Arachnid/Rules.html">Rules</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/SessionCache" data-name="arachnid::sessioncache">
<a href="../../../Arachnid/SessionCache.html">SessionCache</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/URI" data-name="uri">
<a href="../../../URI.html">URI</a>
</li>
</ul>
</div>
</div>
<div class="main-content">
<h1 class="type-name">
<span class="kind">class</span> Arachnid::Agent::Actions::Action
</h1>
<ul class="superclass-hierarchy"><li class="superclass"><a href="../../../Arachnid/Agent/Actions/Action.html">Arachnid::Agent::Actions::Action</a></li><li class="superclass"><a href="../../../Arachnid/Agent/Actions/RuntimeError.html">Arachnid::Agent::Actions::RuntimeError</a></li><li class="superclass">Exception</li><li class="superclass">Reference</li><li class="superclass">Object</li></ul>
<h2>Overview</h2>
<p>The base <code><a href="../../../Arachnid/Agent/Actions.html">Actions</a></code> exceptions class</p>
<h2>Direct Known Subclasses</h2>
<ul class="other-types-list">
<li class="other-type"><a href="../../../Arachnid/Agent/Actions/Paused.html">Arachnid::Agent::Actions::Paused</a></li>
<li class="other-type"><a href="../../../Arachnid/Agent/Actions/SkipLink.html">Arachnid::Agent::Actions::SkipLink</a></li>
<li class="other-type"><a href="../../../Arachnid/Agent/Actions/SkipResource.html">Arachnid::Agent::Actions::SkipResource</a></li>
</ul>
<h2>Defined in:</h2>
<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/agent/actions.cr#L9" target="_blank">
arachnid/agent/actions.cr
</a>
<br/>
<div class="methods-inherited">
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,572 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 0.29.0">
<link href="../../../css/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../../../js/doc.js"></script>
<script type="text/javascript">
CrystalDoc.base_path = "../../../";
</script>
<meta id="repository-name" content="github.com/watzon/arachnid">
<title>Arachnid::Agent::Actions::Paused - github.com/watzon/arachnid</title>
</head>
<body>
<div class="sidebar">
<div class="sidebar-header">
<div class="search-box">
<input type="search" class="search-input" placeholder="Search..." spellcheck="false" aria-label="Search">
</div>
<div class="repository-links">
<a href="../../../index.html">README</a>
</div>
</div>
<div class="search-results" class="hidden">
<ul class="search-list"></ul>
</div>
<div class="types-list">
<ul>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid" data-name="arachnid">
<a href="../../../Arachnid.html">Arachnid</a>
<ul>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid/Agent" data-name="arachnid::agent">
<a href="../../../Arachnid/Agent.html">Agent</a>
<ul>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions" data-name="arachnid::agent::actions">
<a href="../../../Arachnid/Agent/Actions.html">Actions</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Action" data-name="arachnid::agent::actions::action">
<a href="../../../Arachnid/Agent/Actions/Action.html">Action</a>
</li>
<li class=" current" data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Paused" data-name="arachnid::agent::actions::paused">
<a href="../../../Arachnid/Agent/Actions/Paused.html">Paused</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/RuntimeError" data-name="arachnid::agent::actions::runtimeerror">
<a href="../../../Arachnid/Agent/Actions/RuntimeError.html">RuntimeError</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipLink" data-name="arachnid::agent::actions::skiplink">
<a href="../../../Arachnid/Agent/Actions/SkipLink.html">SkipLink</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipResource" data-name="arachnid::agent::actions::skipresource">
<a href="../../../Arachnid/Agent/Actions/SkipResource.html">SkipResource</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Queue" data-name="arachnid::agent::queue">
<a href="../../../Arachnid/Agent/Queue.html">Queue</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthCredential" data-name="arachnid::authcredential">
<a href="../../../Arachnid/AuthCredential.html">AuthCredential</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthStore" data-name="arachnid::authstore">
<a href="../../../Arachnid/AuthStore.html">AuthStore</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli" data-name="arachnid::cli">
<a href="../../../Arachnid/Cli.html">Cli</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Action" data-name="arachnid::cli::action">
<a href="../../../Arachnid/Cli/Action.html">Action</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library.html">Command_Main_command_of_clim_library</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap.html">Command_Sitemap</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::runproc">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize.html">Command_Summarize</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::runproc">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::runproc">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Count" data-name="arachnid::cli::count">
<a href="../../../Arachnid/Cli/Count.html">Count</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap" data-name="arachnid::cli::sitemap">
<a href="../../../Arachnid/Cli/Sitemap.html">Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/LastMod" data-name="arachnid::cli::sitemap::lastmod">
<a href="../../../Arachnid/Cli/Sitemap/LastMod.html">LastMod</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/PageMap" data-name="arachnid::cli::sitemap::pagemap">
<a href="../../../Arachnid/Cli/Sitemap/PageMap.html">PageMap</a>
</li>
</ul>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/CookieJar" data-name="arachnid::cookiejar">
<a href="../../../Arachnid/CookieJar.html">CookieJar</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Document" data-name="arachnid::document">
<a href="../../../Arachnid/Document.html">Document</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML" data-name="arachnid::document::html">
<a href="../../../Arachnid/Document/HTML.html">HTML</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML/Tag" data-name="arachnid::document::html::tag">
<a href="../../../Arachnid/Document/HTML/Tag.html">Tag</a>
</li>
</ul>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Resource" data-name="arachnid::resource">
<a href="../../../Arachnid/Resource.html">Resource</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/ContentTypes" data-name="arachnid::resource::contenttypes">
<a href="../../../Arachnid/Resource/ContentTypes.html">ContentTypes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/Cookies" data-name="arachnid::resource::cookies">
<a href="../../../Arachnid/Resource/Cookies.html">Cookies</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/HTML" data-name="arachnid::resource::html">
<a href="../../../Arachnid/Resource/HTML.html">HTML</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/StatusCodes" data-name="arachnid::resource::statuscodes">
<a href="../../../Arachnid/Resource/StatusCodes.html">StatusCodes</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Rules" data-name="arachnid::rules(t)">
<a href="../../../Arachnid/Rules.html">Rules</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/SessionCache" data-name="arachnid::sessioncache">
<a href="../../../Arachnid/SessionCache.html">SessionCache</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/URI" data-name="uri">
<a href="../../../URI.html">URI</a>
</li>
</ul>
</div>
</div>
<div class="main-content">
<h1 class="type-name">
<span class="kind">class</span> Arachnid::Agent::Actions::Paused
</h1>
<ul class="superclass-hierarchy"><li class="superclass"><a href="../../../Arachnid/Agent/Actions/Paused.html">Arachnid::Agent::Actions::Paused</a></li><li class="superclass"><a href="../../../Arachnid/Agent/Actions/Action.html">Arachnid::Agent::Actions::Action</a></li><li class="superclass"><a href="../../../Arachnid/Agent/Actions/RuntimeError.html">Arachnid::Agent::Actions::RuntimeError</a></li><li class="superclass">Exception</li><li class="superclass">Reference</li><li class="superclass">Object</li></ul>
<h2>Overview</h2>
<p>Exception used to pause a running <code><a href="../../../Arachnid/Agent.html">Agent</a></code></p>
<h2>Defined in:</h2>
<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/agent/actions.cr#L12" target="_blank">
arachnid/agent/actions.cr
</a>
<br/>
<div class="methods-inherited">
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,559 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 0.29.0">
<link href="../../../css/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../../../js/doc.js"></script>
<script type="text/javascript">
CrystalDoc.base_path = "../../../";
</script>
<meta id="repository-name" content="github.com/watzon/arachnid">
<title>Arachnid::Agent::Actions::RuntimeError - github.com/watzon/arachnid</title>
</head>
<body>
<div class="sidebar">
<div class="sidebar-header">
<div class="search-box">
<input type="search" class="search-input" placeholder="Search..." spellcheck="false" aria-label="Search">
</div>
<div class="repository-links">
<a href="../../../index.html">README</a>
</div>
</div>
<div class="search-results" class="hidden">
<ul class="search-list"></ul>
</div>
<div class="types-list">
<ul>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid" data-name="arachnid">
<a href="../../../Arachnid.html">Arachnid</a>
<ul>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid/Agent" data-name="arachnid::agent">
<a href="../../../Arachnid/Agent.html">Agent</a>
<ul>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions" data-name="arachnid::agent::actions">
<a href="../../../Arachnid/Agent/Actions.html">Actions</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Action" data-name="arachnid::agent::actions::action">
<a href="../../../Arachnid/Agent/Actions/Action.html">Action</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Paused" data-name="arachnid::agent::actions::paused">
<a href="../../../Arachnid/Agent/Actions/Paused.html">Paused</a>
</li>
<li class=" current" data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/RuntimeError" data-name="arachnid::agent::actions::runtimeerror">
<a href="../../../Arachnid/Agent/Actions/RuntimeError.html">RuntimeError</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipLink" data-name="arachnid::agent::actions::skiplink">
<a href="../../../Arachnid/Agent/Actions/SkipLink.html">SkipLink</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipResource" data-name="arachnid::agent::actions::skipresource">
<a href="../../../Arachnid/Agent/Actions/SkipResource.html">SkipResource</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Queue" data-name="arachnid::agent::queue">
<a href="../../../Arachnid/Agent/Queue.html">Queue</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthCredential" data-name="arachnid::authcredential">
<a href="../../../Arachnid/AuthCredential.html">AuthCredential</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthStore" data-name="arachnid::authstore">
<a href="../../../Arachnid/AuthStore.html">AuthStore</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli" data-name="arachnid::cli">
<a href="../../../Arachnid/Cli.html">Cli</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Action" data-name="arachnid::cli::action">
<a href="../../../Arachnid/Cli/Action.html">Action</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library.html">Command_Main_command_of_clim_library</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap.html">Command_Sitemap</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::runproc">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize.html">Command_Summarize</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::runproc">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::runproc">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Count" data-name="arachnid::cli::count">
<a href="../../../Arachnid/Cli/Count.html">Count</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap" data-name="arachnid::cli::sitemap">
<a href="../../../Arachnid/Cli/Sitemap.html">Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/LastMod" data-name="arachnid::cli::sitemap::lastmod">
<a href="../../../Arachnid/Cli/Sitemap/LastMod.html">LastMod</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/PageMap" data-name="arachnid::cli::sitemap::pagemap">
<a href="../../../Arachnid/Cli/Sitemap/PageMap.html">PageMap</a>
</li>
</ul>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/CookieJar" data-name="arachnid::cookiejar">
<a href="../../../Arachnid/CookieJar.html">CookieJar</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Document" data-name="arachnid::document">
<a href="../../../Arachnid/Document.html">Document</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML" data-name="arachnid::document::html">
<a href="../../../Arachnid/Document/HTML.html">HTML</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML/Tag" data-name="arachnid::document::html::tag">
<a href="../../../Arachnid/Document/HTML/Tag.html">Tag</a>
</li>
</ul>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Resource" data-name="arachnid::resource">
<a href="../../../Arachnid/Resource.html">Resource</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/ContentTypes" data-name="arachnid::resource::contenttypes">
<a href="../../../Arachnid/Resource/ContentTypes.html">ContentTypes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/Cookies" data-name="arachnid::resource::cookies">
<a href="../../../Arachnid/Resource/Cookies.html">Cookies</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/HTML" data-name="arachnid::resource::html">
<a href="../../../Arachnid/Resource/HTML.html">HTML</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/StatusCodes" data-name="arachnid::resource::statuscodes">
<a href="../../../Arachnid/Resource/StatusCodes.html">StatusCodes</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Rules" data-name="arachnid::rules(t)">
<a href="../../../Arachnid/Rules.html">Rules</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/SessionCache" data-name="arachnid::sessioncache">
<a href="../../../Arachnid/SessionCache.html">SessionCache</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/URI" data-name="uri">
<a href="../../../URI.html">URI</a>
</li>
</ul>
</div>
</div>
<div class="main-content">
<h1 class="type-name">
<span class="kind">class</span> Arachnid::Agent::Actions::RuntimeError
</h1>
<ul class="superclass-hierarchy"><li class="superclass"><a href="../../../Arachnid/Agent/Actions/RuntimeError.html">Arachnid::Agent::Actions::RuntimeError</a></li><li class="superclass">Exception</li><li class="superclass">Reference</li><li class="superclass">Object</li></ul>
<h2>Overview</h2>
<p>A Runtime Error</p>
<h2>Direct Known Subclasses</h2>
<ul class="other-types-list">
<li class="other-type"><a href="../../../Arachnid/Agent/Actions/Action.html">Arachnid::Agent::Actions::Action</a></li>
</ul>
<h2>Defined in:</h2>
<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/agent/actions.cr#L6" target="_blank">
arachnid/agent/actions.cr
</a>
<br/>
<div class="methods-inherited">
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,572 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 0.29.0">
<link href="../../../css/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../../../js/doc.js"></script>
<script type="text/javascript">
CrystalDoc.base_path = "../../../";
</script>
<meta id="repository-name" content="github.com/watzon/arachnid">
<title>Arachnid::Agent::Actions::SkipLink - github.com/watzon/arachnid</title>
</head>
<body>
<div class="sidebar">
<div class="sidebar-header">
<div class="search-box">
<input type="search" class="search-input" placeholder="Search..." spellcheck="false" aria-label="Search">
</div>
<div class="repository-links">
<a href="../../../index.html">README</a>
</div>
</div>
<div class="search-results" class="hidden">
<ul class="search-list"></ul>
</div>
<div class="types-list">
<ul>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid" data-name="arachnid">
<a href="../../../Arachnid.html">Arachnid</a>
<ul>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid/Agent" data-name="arachnid::agent">
<a href="../../../Arachnid/Agent.html">Agent</a>
<ul>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions" data-name="arachnid::agent::actions">
<a href="../../../Arachnid/Agent/Actions.html">Actions</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Action" data-name="arachnid::agent::actions::action">
<a href="../../../Arachnid/Agent/Actions/Action.html">Action</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Paused" data-name="arachnid::agent::actions::paused">
<a href="../../../Arachnid/Agent/Actions/Paused.html">Paused</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/RuntimeError" data-name="arachnid::agent::actions::runtimeerror">
<a href="../../../Arachnid/Agent/Actions/RuntimeError.html">RuntimeError</a>
</li>
<li class=" current" data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipLink" data-name="arachnid::agent::actions::skiplink">
<a href="../../../Arachnid/Agent/Actions/SkipLink.html">SkipLink</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipResource" data-name="arachnid::agent::actions::skipresource">
<a href="../../../Arachnid/Agent/Actions/SkipResource.html">SkipResource</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Queue" data-name="arachnid::agent::queue">
<a href="../../../Arachnid/Agent/Queue.html">Queue</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthCredential" data-name="arachnid::authcredential">
<a href="../../../Arachnid/AuthCredential.html">AuthCredential</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthStore" data-name="arachnid::authstore">
<a href="../../../Arachnid/AuthStore.html">AuthStore</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli" data-name="arachnid::cli">
<a href="../../../Arachnid/Cli.html">Cli</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Action" data-name="arachnid::cli::action">
<a href="../../../Arachnid/Cli/Action.html">Action</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library.html">Command_Main_command_of_clim_library</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap.html">Command_Sitemap</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::runproc">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize.html">Command_Summarize</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::runproc">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::runproc">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Count" data-name="arachnid::cli::count">
<a href="../../../Arachnid/Cli/Count.html">Count</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap" data-name="arachnid::cli::sitemap">
<a href="../../../Arachnid/Cli/Sitemap.html">Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/LastMod" data-name="arachnid::cli::sitemap::lastmod">
<a href="../../../Arachnid/Cli/Sitemap/LastMod.html">LastMod</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/PageMap" data-name="arachnid::cli::sitemap::pagemap">
<a href="../../../Arachnid/Cli/Sitemap/PageMap.html">PageMap</a>
</li>
</ul>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/CookieJar" data-name="arachnid::cookiejar">
<a href="../../../Arachnid/CookieJar.html">CookieJar</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Document" data-name="arachnid::document">
<a href="../../../Arachnid/Document.html">Document</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML" data-name="arachnid::document::html">
<a href="../../../Arachnid/Document/HTML.html">HTML</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML/Tag" data-name="arachnid::document::html::tag">
<a href="../../../Arachnid/Document/HTML/Tag.html">Tag</a>
</li>
</ul>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Resource" data-name="arachnid::resource">
<a href="../../../Arachnid/Resource.html">Resource</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/ContentTypes" data-name="arachnid::resource::contenttypes">
<a href="../../../Arachnid/Resource/ContentTypes.html">ContentTypes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/Cookies" data-name="arachnid::resource::cookies">
<a href="../../../Arachnid/Resource/Cookies.html">Cookies</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/HTML" data-name="arachnid::resource::html">
<a href="../../../Arachnid/Resource/HTML.html">HTML</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/StatusCodes" data-name="arachnid::resource::statuscodes">
<a href="../../../Arachnid/Resource/StatusCodes.html">StatusCodes</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Rules" data-name="arachnid::rules(t)">
<a href="../../../Arachnid/Rules.html">Rules</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/SessionCache" data-name="arachnid::sessioncache">
<a href="../../../Arachnid/SessionCache.html">SessionCache</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/URI" data-name="uri">
<a href="../../../URI.html">URI</a>
</li>
</ul>
</div>
</div>
<div class="main-content">
<h1 class="type-name">
<span class="kind">class</span> Arachnid::Agent::Actions::SkipLink
</h1>
<ul class="superclass-hierarchy"><li class="superclass"><a href="../../../Arachnid/Agent/Actions/SkipLink.html">Arachnid::Agent::Actions::SkipLink</a></li><li class="superclass"><a href="../../../Arachnid/Agent/Actions/Action.html">Arachnid::Agent::Actions::Action</a></li><li class="superclass"><a href="../../../Arachnid/Agent/Actions/RuntimeError.html">Arachnid::Agent::Actions::RuntimeError</a></li><li class="superclass">Exception</li><li class="superclass">Reference</li><li class="superclass">Object</li></ul>
<h2>Overview</h2>
<p>Exception which causes a running <code><a href="../../../Arachnid/Agent.html">Agent</a></code> to skip a link.</p>
<h2>Defined in:</h2>
<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/agent/actions.cr#L15" target="_blank">
arachnid/agent/actions.cr
</a>
<br/>
<div class="methods-inherited">
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,572 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 0.29.0">
<link href="../../../css/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../../../js/doc.js"></script>
<script type="text/javascript">
CrystalDoc.base_path = "../../../";
</script>
<meta id="repository-name" content="github.com/watzon/arachnid">
<title>Arachnid::Agent::Actions::SkipResource - github.com/watzon/arachnid</title>
</head>
<body>
<div class="sidebar">
<div class="sidebar-header">
<div class="search-box">
<input type="search" class="search-input" placeholder="Search..." spellcheck="false" aria-label="Search">
</div>
<div class="repository-links">
<a href="../../../index.html">README</a>
</div>
</div>
<div class="search-results" class="hidden">
<ul class="search-list"></ul>
</div>
<div class="types-list">
<ul>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid" data-name="arachnid">
<a href="../../../Arachnid.html">Arachnid</a>
<ul>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid/Agent" data-name="arachnid::agent">
<a href="../../../Arachnid/Agent.html">Agent</a>
<ul>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions" data-name="arachnid::agent::actions">
<a href="../../../Arachnid/Agent/Actions.html">Actions</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Action" data-name="arachnid::agent::actions::action">
<a href="../../../Arachnid/Agent/Actions/Action.html">Action</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Paused" data-name="arachnid::agent::actions::paused">
<a href="../../../Arachnid/Agent/Actions/Paused.html">Paused</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/RuntimeError" data-name="arachnid::agent::actions::runtimeerror">
<a href="../../../Arachnid/Agent/Actions/RuntimeError.html">RuntimeError</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipLink" data-name="arachnid::agent::actions::skiplink">
<a href="../../../Arachnid/Agent/Actions/SkipLink.html">SkipLink</a>
</li>
<li class=" current" data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipResource" data-name="arachnid::agent::actions::skipresource">
<a href="../../../Arachnid/Agent/Actions/SkipResource.html">SkipResource</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Queue" data-name="arachnid::agent::queue">
<a href="../../../Arachnid/Agent/Queue.html">Queue</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthCredential" data-name="arachnid::authcredential">
<a href="../../../Arachnid/AuthCredential.html">AuthCredential</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthStore" data-name="arachnid::authstore">
<a href="../../../Arachnid/AuthStore.html">AuthStore</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli" data-name="arachnid::cli">
<a href="../../../Arachnid/Cli.html">Cli</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Action" data-name="arachnid::cli::action">
<a href="../../../Arachnid/Cli/Action.html">Action</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library.html">Command_Main_command_of_clim_library</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap.html">Command_Sitemap</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::runproc">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize.html">Command_Summarize</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::runproc">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::runproc">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Count" data-name="arachnid::cli::count">
<a href="../../../Arachnid/Cli/Count.html">Count</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap" data-name="arachnid::cli::sitemap">
<a href="../../../Arachnid/Cli/Sitemap.html">Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/LastMod" data-name="arachnid::cli::sitemap::lastmod">
<a href="../../../Arachnid/Cli/Sitemap/LastMod.html">LastMod</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/PageMap" data-name="arachnid::cli::sitemap::pagemap">
<a href="../../../Arachnid/Cli/Sitemap/PageMap.html">PageMap</a>
</li>
</ul>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/CookieJar" data-name="arachnid::cookiejar">
<a href="../../../Arachnid/CookieJar.html">CookieJar</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Document" data-name="arachnid::document">
<a href="../../../Arachnid/Document.html">Document</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML" data-name="arachnid::document::html">
<a href="../../../Arachnid/Document/HTML.html">HTML</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML/Tag" data-name="arachnid::document::html::tag">
<a href="../../../Arachnid/Document/HTML/Tag.html">Tag</a>
</li>
</ul>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Resource" data-name="arachnid::resource">
<a href="../../../Arachnid/Resource.html">Resource</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/ContentTypes" data-name="arachnid::resource::contenttypes">
<a href="../../../Arachnid/Resource/ContentTypes.html">ContentTypes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/Cookies" data-name="arachnid::resource::cookies">
<a href="../../../Arachnid/Resource/Cookies.html">Cookies</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/HTML" data-name="arachnid::resource::html">
<a href="../../../Arachnid/Resource/HTML.html">HTML</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/StatusCodes" data-name="arachnid::resource::statuscodes">
<a href="../../../Arachnid/Resource/StatusCodes.html">StatusCodes</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Rules" data-name="arachnid::rules(t)">
<a href="../../../Arachnid/Rules.html">Rules</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/SessionCache" data-name="arachnid::sessioncache">
<a href="../../../Arachnid/SessionCache.html">SessionCache</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/URI" data-name="uri">
<a href="../../../URI.html">URI</a>
</li>
</ul>
</div>
</div>
<div class="main-content">
<h1 class="type-name">
<span class="kind">class</span> Arachnid::Agent::Actions::SkipResource
</h1>
<ul class="superclass-hierarchy"><li class="superclass"><a href="../../../Arachnid/Agent/Actions/SkipResource.html">Arachnid::Agent::Actions::SkipResource</a></li><li class="superclass"><a href="../../../Arachnid/Agent/Actions/Action.html">Arachnid::Agent::Actions::Action</a></li><li class="superclass"><a href="../../../Arachnid/Agent/Actions/RuntimeError.html">Arachnid::Agent::Actions::RuntimeError</a></li><li class="superclass">Exception</li><li class="superclass">Reference</li><li class="superclass">Object</li></ul>
<h2>Overview</h2>
<p>Exception which caises a running <code><a href="../../../Arachnid/Agent.html">Agent</a></code> to skip a resource.</p>
<h2>Defined in:</h2>
<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/agent/actions.cr#L18" target="_blank">
arachnid/agent/actions.cr
</a>
<br/>
<div class="methods-inherited">
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,701 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 0.29.0">
<link href="../../css/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../../js/doc.js"></script>
<script type="text/javascript">
CrystalDoc.base_path = "../../";
</script>
<meta id="repository-name" content="github.com/watzon/arachnid">
<title>Arachnid::Agent::Queue - github.com/watzon/arachnid</title>
</head>
<body>
<div class="sidebar">
<div class="sidebar-header">
<div class="search-box">
<input type="search" class="search-input" placeholder="Search..." spellcheck="false" aria-label="Search">
</div>
<div class="repository-links">
<a href="../../index.html">README</a>
</div>
</div>
<div class="search-results" class="hidden">
<ul class="search-list"></ul>
</div>
<div class="types-list">
<ul>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid" data-name="arachnid">
<a href="../../Arachnid.html">Arachnid</a>
<ul>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid/Agent" data-name="arachnid::agent">
<a href="../../Arachnid/Agent.html">Agent</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions" data-name="arachnid::agent::actions">
<a href="../../Arachnid/Agent/Actions.html">Actions</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Action" data-name="arachnid::agent::actions::action">
<a href="../../Arachnid/Agent/Actions/Action.html">Action</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Paused" data-name="arachnid::agent::actions::paused">
<a href="../../Arachnid/Agent/Actions/Paused.html">Paused</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/RuntimeError" data-name="arachnid::agent::actions::runtimeerror">
<a href="../../Arachnid/Agent/Actions/RuntimeError.html">RuntimeError</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipLink" data-name="arachnid::agent::actions::skiplink">
<a href="../../Arachnid/Agent/Actions/SkipLink.html">SkipLink</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipResource" data-name="arachnid::agent::actions::skipresource">
<a href="../../Arachnid/Agent/Actions/SkipResource.html">SkipResource</a>
</li>
</ul>
</li>
<li class=" current" data-id="github.com/watzon/arachnid/Arachnid/Agent/Queue" data-name="arachnid::agent::queue">
<a href="../../Arachnid/Agent/Queue.html">Queue</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthCredential" data-name="arachnid::authcredential">
<a href="../../Arachnid/AuthCredential.html">AuthCredential</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthStore" data-name="arachnid::authstore">
<a href="../../Arachnid/AuthStore.html">AuthStore</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli" data-name="arachnid::cli">
<a href="../../Arachnid/Cli.html">Cli</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Action" data-name="arachnid::cli::action">
<a href="../../Arachnid/Cli/Action.html">Action</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library.html">Command_Main_command_of_clim_library</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap.html">Command_Sitemap</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::runproc">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize.html">Command_Summarize</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::runproc">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::runproc">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Count" data-name="arachnid::cli::count">
<a href="../../Arachnid/Cli/Count.html">Count</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap" data-name="arachnid::cli::sitemap">
<a href="../../Arachnid/Cli/Sitemap.html">Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/LastMod" data-name="arachnid::cli::sitemap::lastmod">
<a href="../../Arachnid/Cli/Sitemap/LastMod.html">LastMod</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/PageMap" data-name="arachnid::cli::sitemap::pagemap">
<a href="../../Arachnid/Cli/Sitemap/PageMap.html">PageMap</a>
</li>
</ul>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/CookieJar" data-name="arachnid::cookiejar">
<a href="../../Arachnid/CookieJar.html">CookieJar</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Document" data-name="arachnid::document">
<a href="../../Arachnid/Document.html">Document</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML" data-name="arachnid::document::html">
<a href="../../Arachnid/Document/HTML.html">HTML</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML/Tag" data-name="arachnid::document::html::tag">
<a href="../../Arachnid/Document/HTML/Tag.html">Tag</a>
</li>
</ul>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Resource" data-name="arachnid::resource">
<a href="../../Arachnid/Resource.html">Resource</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/ContentTypes" data-name="arachnid::resource::contenttypes">
<a href="../../Arachnid/Resource/ContentTypes.html">ContentTypes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/Cookies" data-name="arachnid::resource::cookies">
<a href="../../Arachnid/Resource/Cookies.html">Cookies</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/HTML" data-name="arachnid::resource::html">
<a href="../../Arachnid/Resource/HTML.html">HTML</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/StatusCodes" data-name="arachnid::resource::statuscodes">
<a href="../../Arachnid/Resource/StatusCodes.html">StatusCodes</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Rules" data-name="arachnid::rules(t)">
<a href="../../Arachnid/Rules.html">Rules</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/SessionCache" data-name="arachnid::sessioncache">
<a href="../../Arachnid/SessionCache.html">SessionCache</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/URI" data-name="uri">
<a href="../../URI.html">URI</a>
</li>
</ul>
</div>
</div>
<div class="main-content">
<h1 class="type-name">
<span class="kind">class</span> Arachnid::Agent::Queue
</h1>
<ul class="superclass-hierarchy"><li class="superclass"><a href="../../Arachnid/Agent/Queue.html">Arachnid::Agent::Queue</a></li><li class="superclass">Reference</li><li class="superclass">Object</li></ul>
<h2>Defined in:</h2>
<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/agent/queue.cr#L7" target="_blank">
arachnid/agent/queue.cr
</a>
<br/>
<h2>Constructors</h2>
<ul class="list-summary">
<li class="entry-summary">
<a href="#new%28array%3Dnil%2Cpool_size%3Dnil%29-class-method" class="signature"><strong>.new</strong>(array = <span class="n">nil</span>, pool_size = <span class="n">nil</span>)</a>
</li>
</ul>
<h2>Instance Method Summary</h2>
<ul class="list-summary">
<li class="entry-summary">
<a href="#clear-instance-method" class="signature"><strong>#clear</strong></a>
</li>
<li class="entry-summary">
<a href="#enqueue%28item%29-instance-method" class="signature"><strong>#enqueue</strong>(item)</a>
</li>
<li class="entry-summary">
<a href="#mutex%3AMutex-instance-method" class="signature"><strong>#mutex</strong> : Mutex</a>
</li>
<li class="entry-summary">
<a href="#mutex%3D%28mutex%3AMutex%29-instance-method" class="signature"><strong>#mutex=</strong>(mutex : Mutex)</a>
</li>
<li class="entry-summary">
<a href="#queued%3F%28url%29-instance-method" class="signature"><strong>#queued?</strong>(url)</a>
</li>
<li class="entry-summary">
<a href="#run%28%26block%3AURI-%3E%29-instance-method" class="signature"><strong>#run</strong>(&block : URI -> )</a>
</li>
</ul>
<div class="methods-inherited">
</div>
<h2>Constructor Detail</h2>
<div class="entry-detail" id="new(array=nil,pool_size=nil)-class-method">
<div class="signature">
def self.<strong>new</strong>(array = <span class="n">nil</span>, pool_size = <span class="n">nil</span>)
<a class="method-permalink" href="#new%28array%3Dnil%2Cpool_size%3Dnil%29-class-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/agent/queue.cr#L17" target="_blank">View source</a>]
</div>
</div>
<h2>Instance Method Detail</h2>
<div class="entry-detail" id="clear-instance-method">
<div class="signature">
def <strong>clear</strong>
<a class="method-permalink" href="#clear-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/agent/queue.cr#L32" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="enqueue(item)-instance-method">
<div class="signature">
def <strong>enqueue</strong>(item)
<a class="method-permalink" href="#enqueue%28item%29-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/agent/queue.cr#L28" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="mutex:Mutex-instance-method">
<div class="signature">
def <strong>mutex</strong> : Mutex
<a class="method-permalink" href="#mutex%3AMutex-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/agent/queue.cr#L17" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="mutex=(mutex:Mutex)-instance-method">
<div class="signature">
def <strong>mutex=</strong>(mutex : Mutex)
<a class="method-permalink" href="#mutex%3D%28mutex%3AMutex%29-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/agent/queue.cr#L21" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="queued?(url)-instance-method">
<div class="signature">
def <strong>queued?</strong>(url)
<a class="method-permalink" href="#queued%3F%28url%29-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/agent/queue.cr#L36" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="run(&amp;block:URI-&gt;)-instance-method">
<div class="signature">
def <strong>run</strong>(&block : <a href="../../URI.html">URI</a> -> )
<a class="method-permalink" href="#run%28%26block%3AURI-%3E%29-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/agent/queue.cr#L56" target="_blank">View source</a>]
</div>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,669 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 0.29.0">
<link href="../css/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../js/doc.js"></script>
<script type="text/javascript">
CrystalDoc.base_path = "../";
</script>
<meta id="repository-name" content="github.com/watzon/arachnid">
<title>Arachnid::AuthCredential - github.com/watzon/arachnid</title>
</head>
<body>
<div class="sidebar">
<div class="sidebar-header">
<div class="search-box">
<input type="search" class="search-input" placeholder="Search..." spellcheck="false" aria-label="Search">
</div>
<div class="repository-links">
<a href="../index.html">README</a>
</div>
</div>
<div class="search-results" class="hidden">
<ul class="search-list"></ul>
</div>
<div class="types-list">
<ul>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid" data-name="arachnid">
<a href="../Arachnid.html">Arachnid</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Agent" data-name="arachnid::agent">
<a href="../Arachnid/Agent.html">Agent</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions" data-name="arachnid::agent::actions">
<a href="../Arachnid/Agent/Actions.html">Actions</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Action" data-name="arachnid::agent::actions::action">
<a href="../Arachnid/Agent/Actions/Action.html">Action</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Paused" data-name="arachnid::agent::actions::paused">
<a href="../Arachnid/Agent/Actions/Paused.html">Paused</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/RuntimeError" data-name="arachnid::agent::actions::runtimeerror">
<a href="../Arachnid/Agent/Actions/RuntimeError.html">RuntimeError</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipLink" data-name="arachnid::agent::actions::skiplink">
<a href="../Arachnid/Agent/Actions/SkipLink.html">SkipLink</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipResource" data-name="arachnid::agent::actions::skipresource">
<a href="../Arachnid/Agent/Actions/SkipResource.html">SkipResource</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Queue" data-name="arachnid::agent::queue">
<a href="../Arachnid/Agent/Queue.html">Queue</a>
</li>
</ul>
</li>
<li class=" current" data-id="github.com/watzon/arachnid/Arachnid/AuthCredential" data-name="arachnid::authcredential">
<a href="../Arachnid/AuthCredential.html">AuthCredential</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthStore" data-name="arachnid::authstore">
<a href="../Arachnid/AuthStore.html">AuthStore</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli" data-name="arachnid::cli">
<a href="../Arachnid/Cli.html">Cli</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Action" data-name="arachnid::cli::action">
<a href="../Arachnid/Cli/Action.html">Action</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library.html">Command_Main_command_of_clim_library</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap.html">Command_Sitemap</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::runproc">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize.html">Command_Summarize</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::runproc">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::runproc">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Count" data-name="arachnid::cli::count">
<a href="../Arachnid/Cli/Count.html">Count</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap" data-name="arachnid::cli::sitemap">
<a href="../Arachnid/Cli/Sitemap.html">Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/LastMod" data-name="arachnid::cli::sitemap::lastmod">
<a href="../Arachnid/Cli/Sitemap/LastMod.html">LastMod</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/PageMap" data-name="arachnid::cli::sitemap::pagemap">
<a href="../Arachnid/Cli/Sitemap/PageMap.html">PageMap</a>
</li>
</ul>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/CookieJar" data-name="arachnid::cookiejar">
<a href="../Arachnid/CookieJar.html">CookieJar</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Document" data-name="arachnid::document">
<a href="../Arachnid/Document.html">Document</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML" data-name="arachnid::document::html">
<a href="../Arachnid/Document/HTML.html">HTML</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML/Tag" data-name="arachnid::document::html::tag">
<a href="../Arachnid/Document/HTML/Tag.html">Tag</a>
</li>
</ul>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Resource" data-name="arachnid::resource">
<a href="../Arachnid/Resource.html">Resource</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/ContentTypes" data-name="arachnid::resource::contenttypes">
<a href="../Arachnid/Resource/ContentTypes.html">ContentTypes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/Cookies" data-name="arachnid::resource::cookies">
<a href="../Arachnid/Resource/Cookies.html">Cookies</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/HTML" data-name="arachnid::resource::html">
<a href="../Arachnid/Resource/HTML.html">HTML</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/StatusCodes" data-name="arachnid::resource::statuscodes">
<a href="../Arachnid/Resource/StatusCodes.html">StatusCodes</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Rules" data-name="arachnid::rules(t)">
<a href="../Arachnid/Rules.html">Rules</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/SessionCache" data-name="arachnid::sessioncache">
<a href="../Arachnid/SessionCache.html">SessionCache</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/URI" data-name="uri">
<a href="../URI.html">URI</a>
</li>
</ul>
</div>
</div>
<div class="main-content">
<h1 class="type-name">
<span class="kind">struct</span> Arachnid::AuthCredential
</h1>
<ul class="superclass-hierarchy"><li class="superclass"><a href="../Arachnid/AuthCredential.html">Arachnid::AuthCredential</a></li><li class="superclass">Struct</li><li class="superclass">Value</li><li class="superclass">Object</li></ul>
<h2>Overview</h2>
<p>Represents HTTP Authentication credentials for a website.</p>
<h2>Defined in:</h2>
<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/auth_credential.cr#L3" target="_blank">
arachnid/auth_credential.cr
</a>
<br/>
<h2>Constructors</h2>
<ul class="list-summary">
<li class="entry-summary">
<a href="#new%28username%3AString%2Cpassword%3AString%29-class-method" class="signature"><strong>.new</strong>(username : String, password : String)</a>
</li>
</ul>
<h2>Instance Method Summary</h2>
<ul class="list-summary">
<li class="entry-summary">
<a href="#clone-instance-method" class="signature"><strong>#clone</strong></a>
</li>
<li class="entry-summary">
<a href="#copy_with%28username_username%3D%40username%2Cpassword_password%3D%40password%29-instance-method" class="signature"><strong>#copy_with</strong>(username _username = @username, password _password = @password)</a>
</li>
<li class="entry-summary">
<a href="#password%3AString-instance-method" class="signature"><strong>#password</strong> : String</a>
</li>
<li class="entry-summary">
<a href="#username%3AString-instance-method" class="signature"><strong>#username</strong> : String</a>
</li>
</ul>
<div class="methods-inherited">
</div>
<h2>Constructor Detail</h2>
<div class="entry-detail" id="new(username:String,password:String)-class-method">
<div class="signature">
def self.<strong>new</strong>(username : String, password : String)
<a class="method-permalink" href="#new%28username%3AString%2Cpassword%3AString%29-class-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/auth_credential.cr#L3" target="_blank">View source</a>]
</div>
</div>
<h2>Instance Method Detail</h2>
<div class="entry-detail" id="clone-instance-method">
<div class="signature">
def <strong>clone</strong>
<a class="method-permalink" href="#clone-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/auth_credential.cr#L3" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="copy_with(username_username=@username,password_password=@password)-instance-method">
<div class="signature">
def <strong>copy_with</strong>(username _username = @username, password _password = @password)
<a class="method-permalink" href="#copy_with%28username_username%3D%40username%2Cpassword_password%3D%40password%29-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/auth_credential.cr#L3" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="password:String-instance-method">
<div class="signature">
def <strong>password</strong> : String
<a class="method-permalink" href="#password%3AString-instance-method">#</a>
</div>
<br/>
<div>
</div>
</div>
<div class="entry-detail" id="username:String-instance-method">
<div class="signature">
def <strong>username</strong> : String
<a class="method-permalink" href="#username%3AString-instance-method">#</a>
</div>
<br/>
<div>
</div>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,723 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 0.29.0">
<link href="../css/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../js/doc.js"></script>
<script type="text/javascript">
CrystalDoc.base_path = "../";
</script>
<meta id="repository-name" content="github.com/watzon/arachnid">
<title>Arachnid::AuthStore - github.com/watzon/arachnid</title>
</head>
<body>
<div class="sidebar">
<div class="sidebar-header">
<div class="search-box">
<input type="search" class="search-input" placeholder="Search..." spellcheck="false" aria-label="Search">
</div>
<div class="repository-links">
<a href="../index.html">README</a>
</div>
</div>
<div class="search-results" class="hidden">
<ul class="search-list"></ul>
</div>
<div class="types-list">
<ul>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid" data-name="arachnid">
<a href="../Arachnid.html">Arachnid</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Agent" data-name="arachnid::agent">
<a href="../Arachnid/Agent.html">Agent</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions" data-name="arachnid::agent::actions">
<a href="../Arachnid/Agent/Actions.html">Actions</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Action" data-name="arachnid::agent::actions::action">
<a href="../Arachnid/Agent/Actions/Action.html">Action</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Paused" data-name="arachnid::agent::actions::paused">
<a href="../Arachnid/Agent/Actions/Paused.html">Paused</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/RuntimeError" data-name="arachnid::agent::actions::runtimeerror">
<a href="../Arachnid/Agent/Actions/RuntimeError.html">RuntimeError</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipLink" data-name="arachnid::agent::actions::skiplink">
<a href="../Arachnid/Agent/Actions/SkipLink.html">SkipLink</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipResource" data-name="arachnid::agent::actions::skipresource">
<a href="../Arachnid/Agent/Actions/SkipResource.html">SkipResource</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Queue" data-name="arachnid::agent::queue">
<a href="../Arachnid/Agent/Queue.html">Queue</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthCredential" data-name="arachnid::authcredential">
<a href="../Arachnid/AuthCredential.html">AuthCredential</a>
</li>
<li class=" current" data-id="github.com/watzon/arachnid/Arachnid/AuthStore" data-name="arachnid::authstore">
<a href="../Arachnid/AuthStore.html">AuthStore</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli" data-name="arachnid::cli">
<a href="../Arachnid/Cli.html">Cli</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Action" data-name="arachnid::cli::action">
<a href="../Arachnid/Cli/Action.html">Action</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library.html">Command_Main_command_of_clim_library</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap.html">Command_Sitemap</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::runproc">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize.html">Command_Summarize</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::runproc">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::runproc">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Count" data-name="arachnid::cli::count">
<a href="../Arachnid/Cli/Count.html">Count</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap" data-name="arachnid::cli::sitemap">
<a href="../Arachnid/Cli/Sitemap.html">Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/LastMod" data-name="arachnid::cli::sitemap::lastmod">
<a href="../Arachnid/Cli/Sitemap/LastMod.html">LastMod</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/PageMap" data-name="arachnid::cli::sitemap::pagemap">
<a href="../Arachnid/Cli/Sitemap/PageMap.html">PageMap</a>
</li>
</ul>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/CookieJar" data-name="arachnid::cookiejar">
<a href="../Arachnid/CookieJar.html">CookieJar</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Document" data-name="arachnid::document">
<a href="../Arachnid/Document.html">Document</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML" data-name="arachnid::document::html">
<a href="../Arachnid/Document/HTML.html">HTML</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML/Tag" data-name="arachnid::document::html::tag">
<a href="../Arachnid/Document/HTML/Tag.html">Tag</a>
</li>
</ul>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Resource" data-name="arachnid::resource">
<a href="../Arachnid/Resource.html">Resource</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/ContentTypes" data-name="arachnid::resource::contenttypes">
<a href="../Arachnid/Resource/ContentTypes.html">ContentTypes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/Cookies" data-name="arachnid::resource::cookies">
<a href="../Arachnid/Resource/Cookies.html">Cookies</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/HTML" data-name="arachnid::resource::html">
<a href="../Arachnid/Resource/HTML.html">HTML</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/StatusCodes" data-name="arachnid::resource::statuscodes">
<a href="../Arachnid/Resource/StatusCodes.html">StatusCodes</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Rules" data-name="arachnid::rules(t)">
<a href="../Arachnid/Rules.html">Rules</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/SessionCache" data-name="arachnid::sessioncache">
<a href="../Arachnid/SessionCache.html">SessionCache</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/URI" data-name="uri">
<a href="../URI.html">URI</a>
</li>
</ul>
</div>
</div>
<div class="main-content">
<h1 class="type-name">
<span class="kind">class</span> Arachnid::AuthStore
</h1>
<ul class="superclass-hierarchy"><li class="superclass"><a href="../Arachnid/AuthStore.html">Arachnid::AuthStore</a></li><li class="superclass">Reference</li><li class="superclass">Object</li></ul>
<h2>Defined in:</h2>
<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/auth_store.cr#L7" target="_blank">
arachnid/auth_store.cr
</a>
<br/>
<h2>Instance Method Summary</h2>
<ul class="list-summary">
<li class="entry-summary">
<a href="#%5B%5D%28url%29-instance-method" class="signature"><strong>#[]</strong>(url)</a>
<div class="summary"><p>Given a URL, return the most specific matching auth credential.</p></div>
</li>
<li class="entry-summary">
<a href="#%5B%5D%3D%28url%2Cauth%29-instance-method" class="signature"><strong>#[]=</strong>(url, auth)</a>
<div class="summary"><p>Add an auth credential to the store for the supplied base URL.</p></div>
</li>
<li class="entry-summary">
<a href="#add%28url%2Cusername%2Cpassword%29-instance-method" class="signature"><strong>#add</strong>(url, username, password)</a>
<div class="summary"><p>Convenience method to add username and password credentials for a named URL.</p></div>
</li>
<li class="entry-summary">
<a href="#clear%21-instance-method" class="signature"><strong>#clear!</strong></a>
<div class="summary"><p>Clear the contents of the auth store.</p></div>
</li>
<li class="entry-summary">
<a href="#for_url%28url%29-instance-method" class="signature"><strong>#for_url</strong>(url)</a>
<div class="summary"><p>Returns the base64 encoded authorization string for the URL or <code>nil</code> if no authorization exists.</p></div>
</li>
<li class="entry-summary">
<a href="#inspect-instance-method" class="signature"><strong>#inspect</strong></a>
<div class="summary"><p>Inspect the auth store</p></div>
</li>
<li class="entry-summary">
<a href="#size-instance-method" class="signature"><strong>#size</strong></a>
<div class="summary"><p>Size of the current auth store (number of URL paths stored)</p></div>
</li>
</ul>
<div class="methods-inherited">
</div>
<h2>Instance Method Detail</h2>
<div class="entry-detail" id="[](url)-instance-method">
<div class="signature">
def <strong>[]</strong>(url)
<a class="method-permalink" href="#%5B%5D%28url%29-instance-method">#</a>
</div>
<div class="doc"><p>Given a URL, return the most specific matching auth credential.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/auth_store.cr#L11" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="[]=(url,auth)-instance-method">
<div class="signature">
def <strong>[]=</strong>(url, auth)
<a class="method-permalink" href="#%5B%5D%3D%28url%2Cauth%29-instance-method">#</a>
</div>
<div class="doc"><p>Add an auth credential to the store for the supplied base URL.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/auth_store.cr#L34" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="add(url,username,password)-instance-method">
<div class="signature">
def <strong>add</strong>(url, username, password)
<a class="method-permalink" href="#add%28url%2Cusername%2Cpassword%29-instance-method">#</a>
</div>
<div class="doc"><p>Convenience method to add username and password credentials
for a named URL.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/auth_store.cr#L50" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="clear!-instance-method">
<div class="signature">
def <strong>clear!</strong>
<a class="method-permalink" href="#clear%21-instance-method">#</a>
</div>
<div class="doc"><p>Clear the contents of the auth store.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/auth_store.cr#L63" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="for_url(url)-instance-method">
<div class="signature">
def <strong>for_url</strong>(url)
<a class="method-permalink" href="#for_url%28url%29-instance-method">#</a>
</div>
<div class="doc"><p>Returns the base64 encoded authorization string for the URL
or <code>nil</code> if no authorization exists.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/auth_store.cr#L56" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="inspect-instance-method">
<div class="signature">
def <strong>inspect</strong>
<a class="method-permalink" href="#inspect-instance-method">#</a>
</div>
<div class="doc"><p>Inspect the auth store</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/auth_store.cr#L74" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="size-instance-method">
<div class="signature">
def <strong>size</strong>
<a class="method-permalink" href="#size-instance-method">#</a>
</div>
<div class="doc"><p>Size of the current auth store (number of URL paths stored)</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/auth_store.cr#L69" target="_blank">View source</a>]
</div>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,827 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 0.29.0">
<link href="../css/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../js/doc.js"></script>
<script type="text/javascript">
CrystalDoc.base_path = "../";
</script>
<meta id="repository-name" content="github.com/watzon/arachnid">
<title>Arachnid::CookieJar - github.com/watzon/arachnid</title>
</head>
<body>
<div class="sidebar">
<div class="sidebar-header">
<div class="search-box">
<input type="search" class="search-input" placeholder="Search..." spellcheck="false" aria-label="Search">
</div>
<div class="repository-links">
<a href="../index.html">README</a>
</div>
</div>
<div class="search-results" class="hidden">
<ul class="search-list"></ul>
</div>
<div class="types-list">
<ul>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid" data-name="arachnid">
<a href="../Arachnid.html">Arachnid</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Agent" data-name="arachnid::agent">
<a href="../Arachnid/Agent.html">Agent</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions" data-name="arachnid::agent::actions">
<a href="../Arachnid/Agent/Actions.html">Actions</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Action" data-name="arachnid::agent::actions::action">
<a href="../Arachnid/Agent/Actions/Action.html">Action</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Paused" data-name="arachnid::agent::actions::paused">
<a href="../Arachnid/Agent/Actions/Paused.html">Paused</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/RuntimeError" data-name="arachnid::agent::actions::runtimeerror">
<a href="../Arachnid/Agent/Actions/RuntimeError.html">RuntimeError</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipLink" data-name="arachnid::agent::actions::skiplink">
<a href="../Arachnid/Agent/Actions/SkipLink.html">SkipLink</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipResource" data-name="arachnid::agent::actions::skipresource">
<a href="../Arachnid/Agent/Actions/SkipResource.html">SkipResource</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Queue" data-name="arachnid::agent::queue">
<a href="../Arachnid/Agent/Queue.html">Queue</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthCredential" data-name="arachnid::authcredential">
<a href="../Arachnid/AuthCredential.html">AuthCredential</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthStore" data-name="arachnid::authstore">
<a href="../Arachnid/AuthStore.html">AuthStore</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli" data-name="arachnid::cli">
<a href="../Arachnid/Cli.html">Cli</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Action" data-name="arachnid::cli::action">
<a href="../Arachnid/Cli/Action.html">Action</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library.html">Command_Main_command_of_clim_library</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap.html">Command_Sitemap</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::runproc">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize.html">Command_Summarize</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::runproc">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::runproc">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Count" data-name="arachnid::cli::count">
<a href="../Arachnid/Cli/Count.html">Count</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap" data-name="arachnid::cli::sitemap">
<a href="../Arachnid/Cli/Sitemap.html">Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/LastMod" data-name="arachnid::cli::sitemap::lastmod">
<a href="../Arachnid/Cli/Sitemap/LastMod.html">LastMod</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/PageMap" data-name="arachnid::cli::sitemap::pagemap">
<a href="../Arachnid/Cli/Sitemap/PageMap.html">PageMap</a>
</li>
</ul>
</li>
</ul>
</li>
<li class=" current" data-id="github.com/watzon/arachnid/Arachnid/CookieJar" data-name="arachnid::cookiejar">
<a href="../Arachnid/CookieJar.html">CookieJar</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Document" data-name="arachnid::document">
<a href="../Arachnid/Document.html">Document</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML" data-name="arachnid::document::html">
<a href="../Arachnid/Document/HTML.html">HTML</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML/Tag" data-name="arachnid::document::html::tag">
<a href="../Arachnid/Document/HTML/Tag.html">Tag</a>
</li>
</ul>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Resource" data-name="arachnid::resource">
<a href="../Arachnid/Resource.html">Resource</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/ContentTypes" data-name="arachnid::resource::contenttypes">
<a href="../Arachnid/Resource/ContentTypes.html">ContentTypes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/Cookies" data-name="arachnid::resource::cookies">
<a href="../Arachnid/Resource/Cookies.html">Cookies</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/HTML" data-name="arachnid::resource::html">
<a href="../Arachnid/Resource/HTML.html">HTML</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/StatusCodes" data-name="arachnid::resource::statuscodes">
<a href="../Arachnid/Resource/StatusCodes.html">StatusCodes</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Rules" data-name="arachnid::rules(t)">
<a href="../Arachnid/Rules.html">Rules</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/SessionCache" data-name="arachnid::sessioncache">
<a href="../Arachnid/SessionCache.html">SessionCache</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/URI" data-name="uri">
<a href="../URI.html">URI</a>
</li>
</ul>
</div>
</div>
<div class="main-content">
<h1 class="type-name">
<span class="kind">class</span> Arachnid::CookieJar
</h1>
<ul class="superclass-hierarchy"><li class="superclass"><a href="../Arachnid/CookieJar.html">Arachnid::CookieJar</a></li><li class="superclass">Reference</li><li class="superclass">Object</li></ul>
<h2>Overview</h2>
<p>As hosts are scanned their cookies are stored here.</p>
<h2>Included Modules</h2>
<ul class="other-types-list">
<li class="other-type">Enumerable(HTTP::Cookies)</li>
</ul>
<h2>Defined in:</h2>
<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/cookie_jar.cr#L3" target="_blank">
arachnid/cookie_jar.cr
</a>
<br/>
<h2>Constructors</h2>
<ul class="list-summary">
<li class="entry-summary">
<a href="#new-class-method" class="signature"><strong>.new</strong></a>
<div class="summary"><p>Creates a new <code><a href="../Arachnid/CookieJar.html">CookieJar</a></code></p></div>
</li>
</ul>
<h2>Instance Method Summary</h2>
<ul class="list-summary">
<li class="entry-summary">
<a href="#%5B%5D%28host%3AString%29-instance-method" class="signature"><strong>#[]</strong>(host : String)</a>
<div class="summary"><p>Returns all relevant cookies in a single string for the named host or domain.</p></div>
</li>
<li class="entry-summary">
<a href="#%5B%5D%3D%28host%3AString%2Ccookies%3AHTTP%3A%3ACookies%29-instance-method" class="signature"><strong>#[]=</strong>(host : String, cookies : HTTP::Cookies)</a>
<div class="summary"><p>Add a cookie to the jar for a particular domain.</p></div>
</li>
<li class="entry-summary">
<a href="#clear%21-instance-method" class="signature"><strong>#clear!</strong></a>
<div class="summary"><p>Clear out the jar, removing all stored cookies.</p></div>
</li>
<li class="entry-summary">
<a href="#cookies_for_host%28host%29-instance-method" class="signature"><strong>#cookies_for_host</strong>(host)</a>
<div class="summary"><p>Returns raw cookie value pairs for a given host.</p></div>
</li>
<li class="entry-summary">
<a href="#each%28%26block%29-instance-method" class="signature"><strong>#each</strong>(&block)</a>
<div class="summary"><p>Iterates over the host-name and cookie value pairs in the jar.</p></div>
</li>
<li class="entry-summary">
<a href="#for_host%28host%29-instance-method" class="signature"><strong>#for_host</strong>(host)</a>
<div class="summary"><p>Returns the pre-encoded Cookie for a given host.</p></div>
</li>
<li class="entry-summary">
<a href="#from_resource%28resource%29-instance-method" class="signature"><strong>#from_resource</strong>(resource)</a>
<div class="summary"><p>Retrieve cookies for a domain from the response.</p></div>
</li>
<li class="entry-summary">
<a href="#inspect-instance-method" class="signature"><strong>#inspect</strong></a>
<div class="summary"><p>Inspects the cookie jar.</p></div>
</li>
<li class="entry-summary">
<a href="#size-instance-method" class="signature"><strong>#size</strong></a>
<div class="summary"><p>Size of the cookie jar.</p></div>
</li>
</ul>
<div class="methods-inherited">
</div>
<h2>Constructor Detail</h2>
<div class="entry-detail" id="new-class-method">
<div class="signature">
def self.<strong>new</strong>
<a class="method-permalink" href="#new-class-method">#</a>
</div>
<div class="doc"><p>Creates a new <code><a href="../Arachnid/CookieJar.html">CookieJar</a></code></p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/cookie_jar.cr#L13" target="_blank">View source</a>]
</div>
</div>
<h2>Instance Method Detail</h2>
<div class="entry-detail" id="[](host:String)-instance-method">
<div class="signature">
def <strong>[]</strong>(host : String)
<a class="method-permalink" href="#%5B%5D%28host%3AString%29-instance-method">#</a>
</div>
<div class="doc"><p>Returns all relevant cookies in a single string for the named
host or domain.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/cookie_jar.cr#L28" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="[]=(host:String,cookies:HTTP::Cookies)-instance-method">
<div class="signature">
def <strong>[]=</strong>(host : String, cookies : HTTP::Cookies)
<a class="method-permalink" href="#%5B%5D%3D%28host%3AString%2Ccookies%3AHTTP%3A%3ACookies%29-instance-method">#</a>
</div>
<div class="doc"><p>Add a cookie to the jar for a particular domain.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/cookie_jar.cr#L33" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="clear!-instance-method">
<div class="signature">
def <strong>clear!</strong>
<a class="method-permalink" href="#clear%21-instance-method">#</a>
</div>
<div class="doc"><p>Clear out the jar, removing all stored cookies.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/cookie_jar.cr#L102" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="cookies_for_host(host)-instance-method">
<div class="signature">
def <strong>cookies_for_host</strong>(host)
<a class="method-permalink" href="#cookies_for_host%28host%29-instance-method">#</a>
</div>
<div class="doc"><p>Returns raw cookie value pairs for a given host. Includes cookies
set on parent domains.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/cookie_jar.cr#L80" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="each(&amp;block)-instance-method">
<div class="signature">
def <strong>each</strong>(&block)
<a class="method-permalink" href="#each%28%26block%29-instance-method">#</a>
</div>
<div class="doc"><p>Iterates over the host-name and cookie value pairs in the jar.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/cookie_jar.cr#L20" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="for_host(host)-instance-method">
<div class="signature">
def <strong>for_host</strong>(host)
<a class="method-permalink" href="#for_host%28host%29-instance-method">#</a>
</div>
<div class="doc"><p>Returns the pre-encoded Cookie for a given host.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/cookie_jar.cr#L63" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="from_resource(resource)-instance-method">
<div class="signature">
def <strong>from_resource</strong>(resource)
<a class="method-permalink" href="#from_resource%28resource%29-instance-method">#</a>
</div>
<div class="doc"><p>Retrieve cookies for a domain from the response.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/cookie_jar.cr#L51" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="inspect-instance-method">
<div class="signature">
def <strong>inspect</strong>
<a class="method-permalink" href="#inspect-instance-method">#</a>
</div>
<div class="doc"><p>Inspects the cookie jar.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/cookie_jar.cr#L115" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="size-instance-method">
<div class="signature">
def <strong>size</strong>
<a class="method-permalink" href="#size-instance-method">#</a>
</div>
<div class="doc"><p>Size of the cookie jar.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/cookie_jar.cr#L110" target="_blank">View source</a>]
</div>
</div>
</div>
</body>
</html>

516
docs/Arachnid/Document.html Normal file
View File

@ -0,0 +1,516 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 0.29.0">
<link href="../css/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../js/doc.js"></script>
<script type="text/javascript">
CrystalDoc.base_path = "../";
</script>
<meta id="repository-name" content="github.com/watzon/arachnid">
<title>Arachnid::Document - github.com/watzon/arachnid</title>
</head>
<body>
<div class="sidebar">
<div class="sidebar-header">
<div class="search-box">
<input type="search" class="search-input" placeholder="Search..." spellcheck="false" aria-label="Search">
</div>
<div class="repository-links">
<a href="../index.html">README</a>
</div>
</div>
<div class="search-results" class="hidden">
<ul class="search-list"></ul>
</div>
<div class="types-list">
<ul>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid" data-name="arachnid">
<a href="../Arachnid.html">Arachnid</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Agent" data-name="arachnid::agent">
<a href="../Arachnid/Agent.html">Agent</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions" data-name="arachnid::agent::actions">
<a href="../Arachnid/Agent/Actions.html">Actions</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Action" data-name="arachnid::agent::actions::action">
<a href="../Arachnid/Agent/Actions/Action.html">Action</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Paused" data-name="arachnid::agent::actions::paused">
<a href="../Arachnid/Agent/Actions/Paused.html">Paused</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/RuntimeError" data-name="arachnid::agent::actions::runtimeerror">
<a href="../Arachnid/Agent/Actions/RuntimeError.html">RuntimeError</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipLink" data-name="arachnid::agent::actions::skiplink">
<a href="../Arachnid/Agent/Actions/SkipLink.html">SkipLink</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipResource" data-name="arachnid::agent::actions::skipresource">
<a href="../Arachnid/Agent/Actions/SkipResource.html">SkipResource</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Queue" data-name="arachnid::agent::queue">
<a href="../Arachnid/Agent/Queue.html">Queue</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthCredential" data-name="arachnid::authcredential">
<a href="../Arachnid/AuthCredential.html">AuthCredential</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthStore" data-name="arachnid::authstore">
<a href="../Arachnid/AuthStore.html">AuthStore</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli" data-name="arachnid::cli">
<a href="../Arachnid/Cli.html">Cli</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Action" data-name="arachnid::cli::action">
<a href="../Arachnid/Cli/Action.html">Action</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library.html">Command_Main_command_of_clim_library</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap.html">Command_Sitemap</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::runproc">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize.html">Command_Summarize</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::runproc">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::runproc">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Count" data-name="arachnid::cli::count">
<a href="../Arachnid/Cli/Count.html">Count</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap" data-name="arachnid::cli::sitemap">
<a href="../Arachnid/Cli/Sitemap.html">Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/LastMod" data-name="arachnid::cli::sitemap::lastmod">
<a href="../Arachnid/Cli/Sitemap/LastMod.html">LastMod</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/PageMap" data-name="arachnid::cli::sitemap::pagemap">
<a href="../Arachnid/Cli/Sitemap/PageMap.html">PageMap</a>
</li>
</ul>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/CookieJar" data-name="arachnid::cookiejar">
<a href="../Arachnid/CookieJar.html">CookieJar</a>
</li>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid/Document" data-name="arachnid::document">
<a href="../Arachnid/Document.html">Document</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML" data-name="arachnid::document::html">
<a href="../Arachnid/Document/HTML.html">HTML</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML/Tag" data-name="arachnid::document::html::tag">
<a href="../Arachnid/Document/HTML/Tag.html">Tag</a>
</li>
</ul>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Resource" data-name="arachnid::resource">
<a href="../Arachnid/Resource.html">Resource</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/ContentTypes" data-name="arachnid::resource::contenttypes">
<a href="../Arachnid/Resource/ContentTypes.html">ContentTypes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/Cookies" data-name="arachnid::resource::cookies">
<a href="../Arachnid/Resource/Cookies.html">Cookies</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/HTML" data-name="arachnid::resource::html">
<a href="../Arachnid/Resource/HTML.html">HTML</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/StatusCodes" data-name="arachnid::resource::statuscodes">
<a href="../Arachnid/Resource/StatusCodes.html">StatusCodes</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Rules" data-name="arachnid::rules(t)">
<a href="../Arachnid/Rules.html">Rules</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/SessionCache" data-name="arachnid::sessioncache">
<a href="../Arachnid/SessionCache.html">SessionCache</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/URI" data-name="uri">
<a href="../URI.html">URI</a>
</li>
</ul>
</div>
</div>
<div class="main-content">
<h1 class="type-name">
<span class="kind">module</span> Arachnid::Document
</h1>
<h2>Defined in:</h2>
<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/document/html.cr#L4" target="_blank">
arachnid/document/html.cr
</a>
<br/>
<div class="methods-inherited">
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,824 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 0.29.0">
<link href="../../css/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../../js/doc.js"></script>
<script type="text/javascript">
CrystalDoc.base_path = "../../";
</script>
<meta id="repository-name" content="github.com/watzon/arachnid">
<title>Arachnid::Document::HTML - github.com/watzon/arachnid</title>
</head>
<body>
<div class="sidebar">
<div class="sidebar-header">
<div class="search-box">
<input type="search" class="search-input" placeholder="Search..." spellcheck="false" aria-label="Search">
</div>
<div class="repository-links">
<a href="../../index.html">README</a>
</div>
</div>
<div class="search-results" class="hidden">
<ul class="search-list"></ul>
</div>
<div class="types-list">
<ul>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid" data-name="arachnid">
<a href="../../Arachnid.html">Arachnid</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Agent" data-name="arachnid::agent">
<a href="../../Arachnid/Agent.html">Agent</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions" data-name="arachnid::agent::actions">
<a href="../../Arachnid/Agent/Actions.html">Actions</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Action" data-name="arachnid::agent::actions::action">
<a href="../../Arachnid/Agent/Actions/Action.html">Action</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Paused" data-name="arachnid::agent::actions::paused">
<a href="../../Arachnid/Agent/Actions/Paused.html">Paused</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/RuntimeError" data-name="arachnid::agent::actions::runtimeerror">
<a href="../../Arachnid/Agent/Actions/RuntimeError.html">RuntimeError</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipLink" data-name="arachnid::agent::actions::skiplink">
<a href="../../Arachnid/Agent/Actions/SkipLink.html">SkipLink</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipResource" data-name="arachnid::agent::actions::skipresource">
<a href="../../Arachnid/Agent/Actions/SkipResource.html">SkipResource</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Queue" data-name="arachnid::agent::queue">
<a href="../../Arachnid/Agent/Queue.html">Queue</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthCredential" data-name="arachnid::authcredential">
<a href="../../Arachnid/AuthCredential.html">AuthCredential</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthStore" data-name="arachnid::authstore">
<a href="../../Arachnid/AuthStore.html">AuthStore</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli" data-name="arachnid::cli">
<a href="../../Arachnid/Cli.html">Cli</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Action" data-name="arachnid::cli::action">
<a href="../../Arachnid/Cli/Action.html">Action</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library.html">Command_Main_command_of_clim_library</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap.html">Command_Sitemap</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::runproc">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize.html">Command_Summarize</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::runproc">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::runproc">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Count" data-name="arachnid::cli::count">
<a href="../../Arachnid/Cli/Count.html">Count</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap" data-name="arachnid::cli::sitemap">
<a href="../../Arachnid/Cli/Sitemap.html">Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/LastMod" data-name="arachnid::cli::sitemap::lastmod">
<a href="../../Arachnid/Cli/Sitemap/LastMod.html">LastMod</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/PageMap" data-name="arachnid::cli::sitemap::pagemap">
<a href="../../Arachnid/Cli/Sitemap/PageMap.html">PageMap</a>
</li>
</ul>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/CookieJar" data-name="arachnid::cookiejar">
<a href="../../Arachnid/CookieJar.html">CookieJar</a>
</li>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid/Document" data-name="arachnid::document">
<a href="../../Arachnid/Document.html">Document</a>
<ul>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid/Document/HTML" data-name="arachnid::document::html">
<a href="../../Arachnid/Document/HTML.html">HTML</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML/Tag" data-name="arachnid::document::html::tag">
<a href="../../Arachnid/Document/HTML/Tag.html">Tag</a>
</li>
</ul>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Resource" data-name="arachnid::resource">
<a href="../../Arachnid/Resource.html">Resource</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/ContentTypes" data-name="arachnid::resource::contenttypes">
<a href="../../Arachnid/Resource/ContentTypes.html">ContentTypes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/Cookies" data-name="arachnid::resource::cookies">
<a href="../../Arachnid/Resource/Cookies.html">Cookies</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/HTML" data-name="arachnid::resource::html">
<a href="../../Arachnid/Resource/HTML.html">HTML</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/StatusCodes" data-name="arachnid::resource::statuscodes">
<a href="../../Arachnid/Resource/StatusCodes.html">StatusCodes</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Rules" data-name="arachnid::rules(t)">
<a href="../../Arachnid/Rules.html">Rules</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/SessionCache" data-name="arachnid::sessioncache">
<a href="../../Arachnid/SessionCache.html">SessionCache</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/URI" data-name="uri">
<a href="../../URI.html">URI</a>
</li>
</ul>
</div>
</div>
<div class="main-content">
<h1 class="type-name">
<span class="kind">struct</span> Arachnid::Document::HTML
</h1>
<ul class="superclass-hierarchy"><li class="superclass"><a href="../../Arachnid/Document/HTML.html">Arachnid::Document::HTML</a></li><li class="superclass">Struct</li><li class="superclass">Value</li><li class="superclass">Object</li></ul>
<h2>Defined in:</h2>
<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/document/html.cr#L5" target="_blank">
arachnid/document/html.cr
</a>
<br/>
<h2>Constructors</h2>
<ul class="list-summary">
<li class="entry-summary">
<a href="#new%28content%3AString%29-class-method" class="signature"><strong>.new</strong>(content : String)</a>
</li>
</ul>
<h2>Class Method Summary</h2>
<ul class="list-summary">
<li class="entry-summary">
<a href="#css_query_to_xpath%28query%3AString%29%3AString-class-method" class="signature"><strong>.css_query_to_xpath</strong>(query : String) : String</a>
<div class="summary"><p>Transform the css query into an xpath query</p></div>
</li>
<li class="entry-summary">
<a href="#parse%28content%3AString%29-class-method" class="signature"><strong>.parse</strong>(content : String)</a>
</li>
</ul>
<h2>Instance Method Summary</h2>
<ul class="list-summary">
<li class="entry-summary">
<a href="#at_css%28query%3AString%29-instance-method" class="signature"><strong>#at_css</strong>(query : String)</a>
<div class="summary"><p>Find first node corresponding to the css query and return <code><a href="../../Arachnid/Document/HTML/Tag.html">HTML::Tag</a></code> if found or <code>nil</code> if not found</p></div>
</li>
<li class="entry-summary">
<a href="#at_id%28id_name%3AString%29%3ATag%3F-instance-method" class="signature"><strong>#at_id</strong>(id_name : String) : Tag?</a>
<div class="summary"><p>Find a node by its id and return a <code><a href="../../Arachnid/Document/HTML/Tag.html">HTML::Tag</a></code> found or <code>nil</code> if not found</p></div>
</li>
<li class="entry-summary">
<a href="#at_tag%28tag_name%3AString%29%3ATag%3F-instance-method" class="signature"><strong>#at_tag</strong>(tag_name : String) : Tag?</a>
<div class="summary"><p>Find first tag by tag name and return <code><a href="../../Arachnid/Document/HTML/Tag.html">HTML::Tag</a></code> if found or <code>nil</code> if not found</p></div>
</li>
<li class="entry-summary">
<a href="#css%28query%3AString%2C%26block%29%3AArray%28Tag%29-instance-method" class="signature"><strong>#css</strong>(query : String, &block) : Array(Tag)</a>
<div class="summary"><p>Find all nodes corresponding to the css query and yield <code><a href="../../Arachnid/Document/HTML/Tag.html">HTML::Tag</a></code> found or <code>nil</code> if not found</p></div>
</li>
<li class="entry-summary">
<a href="#where_class%28class_name%3AString%2C%26block%29%3AArray%28Tag%29-instance-method" class="signature"><strong>#where_class</strong>(class_name : String, &block) : Array(Tag)</a>
<div class="summary"><p>Find all nodes by classname and yield <code><a href="../../Arachnid/Document/HTML/Tag.html">HTML::Tag</a></code> founded</p></div>
</li>
<li class="entry-summary">
<a href="#where_tag%28tag_name%3AString%2C%26block%29%3AArray%28Tag%29-instance-method" class="signature"><strong>#where_tag</strong>(tag_name : String, &block) : Array(Tag)</a>
<div class="summary"><p>Find all nodes by tag name and yield <code><a href="../../Arachnid/Document/HTML/Tag.html">HTML::Tag</a></code> if found</p></div>
</li>
</ul>
<h2>Macro Summary</h2>
<ul class="list-summary">
<li class="entry-summary">
<a href="#method_missing%28call%29-macro" class="signature"><strong>method_missing</strong>(call)</a>
</li>
</ul>
<div class="methods-inherited">
</div>
<h2>Constructor Detail</h2>
<div class="entry-detail" id="new(content:String)-class-method">
<div class="signature">
def self.<strong>new</strong>(content : String)
<a class="method-permalink" href="#new%28content%3AString%29-class-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/document/html.cr#L18" target="_blank">View source</a>]
</div>
</div>
<h2>Class Method Detail</h2>
<div class="entry-detail" id="css_query_to_xpath(query:String):String-class-method">
<div class="signature">
def self.<strong>css_query_to_xpath</strong>(query : String) : String
<a class="method-permalink" href="#css_query_to_xpath%28query%3AString%29%3AString-class-method">#</a>
</div>
<div class="doc"><p>Transform the css query into an xpath query</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/document/html.cr#L33" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="parse(content:String)-class-method">
<div class="signature">
def self.<strong>parse</strong>(content : String)
<a class="method-permalink" href="#parse%28content%3AString%29-class-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/document/html.cr#L28" target="_blank">View source</a>]
</div>
</div>
<h2>Instance Method Detail</h2>
<div class="entry-detail" id="at_css(query:String)-instance-method">
<div class="signature">
def <strong>at_css</strong>(query : String)
<a class="method-permalink" href="#at_css%28query%3AString%29-instance-method">#</a>
</div>
<div class="doc"><p>Find first node corresponding to the css query and return
<code><a href="../../Arachnid/Document/HTML/Tag.html">HTML::Tag</a></code> if found or <code>nil</code> if not found</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/document/html.cr#L107" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="at_id(id_name:String):Tag?-instance-method">
<div class="signature">
def <strong>at_id</strong>(id_name : String) : <a href="../../Arachnid/Document/HTML/Tag.html">Tag</a>?
<a class="method-permalink" href="#at_id%28id_name%3AString%29%3ATag%3F-instance-method">#</a>
</div>
<div class="doc"><p>Find a node by its id and return a
<code><a href="../../Arachnid/Document/HTML/Tag.html">HTML::Tag</a></code> found or <code>nil</code> if not found</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/document/html.cr#L88" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="at_tag(tag_name:String):Tag?-instance-method">
<div class="signature">
def <strong>at_tag</strong>(tag_name : String) : <a href="../../Arachnid/Document/HTML/Tag.html">Tag</a>?
<a class="method-permalink" href="#at_tag%28tag_name%3AString%29%3ATag%3F-instance-method">#</a>
</div>
<div class="doc"><p>Find first tag by tag name and return
<code><a href="../../Arachnid/Document/HTML/Tag.html">HTML::Tag</a></code> if found or <code>nil</code> if not found</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/document/html.cr#L50" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="css(query:String,&amp;block):Array(Tag)-instance-method">
<div class="signature">
def <strong>css</strong>(query : String, &block) : Array(<a href="../../Arachnid/Document/HTML/Tag.html">Tag</a>)
<a class="method-permalink" href="#css%28query%3AString%2C%26block%29%3AArray%28Tag%29-instance-method">#</a>
</div>
<div class="doc"><p>Find all nodes corresponding to the css query and yield
<code><a href="../../Arachnid/Document/HTML/Tag.html">HTML::Tag</a></code> found or <code>nil</code> if not found</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/document/html.cr#L96" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="where_class(class_name:String,&amp;block):Array(Tag)-instance-method">
<div class="signature">
def <strong>where_class</strong>(class_name : String, &block) : Array(<a href="../../Arachnid/Document/HTML/Tag.html">Tag</a>)
<a class="method-permalink" href="#where_class%28class_name%3AString%2C%26block%29%3AArray%28Tag%29-instance-method">#</a>
</div>
<div class="doc"><p>Find all nodes by classname and yield
<code><a href="../../Arachnid/Document/HTML/Tag.html">HTML::Tag</a></code> founded</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/document/html.cr#L74" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="where_tag(tag_name:String,&amp;block):Array(Tag)-instance-method">
<div class="signature">
def <strong>where_tag</strong>(tag_name : String, &block) : Array(<a href="../../Arachnid/Document/HTML/Tag.html">Tag</a>)
<a class="method-permalink" href="#where_tag%28tag_name%3AString%2C%26block%29%3AArray%28Tag%29-instance-method">#</a>
</div>
<div class="doc"><p>Find all nodes by tag name and yield
<code><a href="../../Arachnid/Document/HTML/Tag.html">HTML::Tag</a></code> if found</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/document/html.cr#L61" target="_blank">View source</a>]
</div>
</div>
<h2>Macro Detail</h2>
<div class="entry-detail" id="method_missing(call)-macro">
<div class="signature">
macro <strong>method_missing</strong>(call)
<a class="method-permalink" href="#method_missing%28call%29-macro">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/document/html.cr#L16" target="_blank">View source</a>]
</div>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,765 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 0.29.0">
<link href="../../../css/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../../../js/doc.js"></script>
<script type="text/javascript">
CrystalDoc.base_path = "../../../";
</script>
<meta id="repository-name" content="github.com/watzon/arachnid">
<title>Arachnid::Document::HTML::Tag - github.com/watzon/arachnid</title>
</head>
<body>
<div class="sidebar">
<div class="sidebar-header">
<div class="search-box">
<input type="search" class="search-input" placeholder="Search..." spellcheck="false" aria-label="Search">
</div>
<div class="repository-links">
<a href="../../../index.html">README</a>
</div>
</div>
<div class="search-results" class="hidden">
<ul class="search-list"></ul>
</div>
<div class="types-list">
<ul>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid" data-name="arachnid">
<a href="../../../Arachnid.html">Arachnid</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Agent" data-name="arachnid::agent">
<a href="../../../Arachnid/Agent.html">Agent</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions" data-name="arachnid::agent::actions">
<a href="../../../Arachnid/Agent/Actions.html">Actions</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Action" data-name="arachnid::agent::actions::action">
<a href="../../../Arachnid/Agent/Actions/Action.html">Action</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Paused" data-name="arachnid::agent::actions::paused">
<a href="../../../Arachnid/Agent/Actions/Paused.html">Paused</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/RuntimeError" data-name="arachnid::agent::actions::runtimeerror">
<a href="../../../Arachnid/Agent/Actions/RuntimeError.html">RuntimeError</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipLink" data-name="arachnid::agent::actions::skiplink">
<a href="../../../Arachnid/Agent/Actions/SkipLink.html">SkipLink</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipResource" data-name="arachnid::agent::actions::skipresource">
<a href="../../../Arachnid/Agent/Actions/SkipResource.html">SkipResource</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Queue" data-name="arachnid::agent::queue">
<a href="../../../Arachnid/Agent/Queue.html">Queue</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthCredential" data-name="arachnid::authcredential">
<a href="../../../Arachnid/AuthCredential.html">AuthCredential</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthStore" data-name="arachnid::authstore">
<a href="../../../Arachnid/AuthStore.html">AuthStore</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli" data-name="arachnid::cli">
<a href="../../../Arachnid/Cli.html">Cli</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Action" data-name="arachnid::cli::action">
<a href="../../../Arachnid/Cli/Action.html">Action</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library.html">Command_Main_command_of_clim_library</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap.html">Command_Sitemap</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::runproc">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize.html">Command_Summarize</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::runproc">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::runproc">
<a href="../../../Arachnid/Cli/Command_Main_command_of_clim_library/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Count" data-name="arachnid::cli::count">
<a href="../../../Arachnid/Cli/Count.html">Count</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap" data-name="arachnid::cli::sitemap">
<a href="../../../Arachnid/Cli/Sitemap.html">Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/LastMod" data-name="arachnid::cli::sitemap::lastmod">
<a href="../../../Arachnid/Cli/Sitemap/LastMod.html">LastMod</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/PageMap" data-name="arachnid::cli::sitemap::pagemap">
<a href="../../../Arachnid/Cli/Sitemap/PageMap.html">PageMap</a>
</li>
</ul>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/CookieJar" data-name="arachnid::cookiejar">
<a href="../../../Arachnid/CookieJar.html">CookieJar</a>
</li>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid/Document" data-name="arachnid::document">
<a href="../../../Arachnid/Document.html">Document</a>
<ul>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid/Document/HTML" data-name="arachnid::document::html">
<a href="../../../Arachnid/Document/HTML.html">HTML</a>
<ul>
<li class=" current" data-id="github.com/watzon/arachnid/Arachnid/Document/HTML/Tag" data-name="arachnid::document::html::tag">
<a href="../../../Arachnid/Document/HTML/Tag.html">Tag</a>
</li>
</ul>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Resource" data-name="arachnid::resource">
<a href="../../../Arachnid/Resource.html">Resource</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/ContentTypes" data-name="arachnid::resource::contenttypes">
<a href="../../../Arachnid/Resource/ContentTypes.html">ContentTypes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/Cookies" data-name="arachnid::resource::cookies">
<a href="../../../Arachnid/Resource/Cookies.html">Cookies</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/HTML" data-name="arachnid::resource::html">
<a href="../../../Arachnid/Resource/HTML.html">HTML</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/StatusCodes" data-name="arachnid::resource::statuscodes">
<a href="../../../Arachnid/Resource/StatusCodes.html">StatusCodes</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Rules" data-name="arachnid::rules(t)">
<a href="../../../Arachnid/Rules.html">Rules</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/SessionCache" data-name="arachnid::sessioncache">
<a href="../../../Arachnid/SessionCache.html">SessionCache</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/URI" data-name="uri">
<a href="../../../URI.html">URI</a>
</li>
</ul>
</div>
</div>
<div class="main-content">
<h1 class="type-name">
<span class="kind">struct</span> Arachnid::Document::HTML::Tag
</h1>
<ul class="superclass-hierarchy"><li class="superclass"><a href="../../../Arachnid/Document/HTML/Tag.html">Arachnid::Document::HTML::Tag</a></li><li class="superclass">Struct</li><li class="superclass">Value</li><li class="superclass">Object</li></ul>
<h2>Overview</h2>
<p>Represents an HTML Tag</p>
<h2>Defined in:</h2>
<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/document/html.cr#L150" target="_blank">
arachnid/document/html.cr
</a>
<br/>
<h2>Constructors</h2>
<ul class="list-summary">
<li class="entry-summary">
<a href="#new%28node%3AXML%3A%3ANode%29-class-method" class="signature"><strong>.new</strong>(node : XML::Node)</a>
</li>
</ul>
<h2>Instance Method Summary</h2>
<ul class="list-summary">
<li class="entry-summary">
<a href="#children%3AArray%28Tag%29-instance-method" class="signature"><strong>#children</strong> : Array(Tag)</a>
</li>
<li class="entry-summary">
<a href="#classname%3AString%3F-instance-method" class="signature"><strong>#classname</strong> : String?</a>
</li>
<li class="entry-summary">
<a href="#content%3AString-instance-method" class="signature"><strong>#content</strong> : String</a>
</li>
<li class="entry-summary">
<a href="#has_class%3F%28klass%3AString%29%3ABool-instance-method" class="signature"><strong>#has_class?</strong>(klass : String) : Bool</a>
</li>
<li class="entry-summary">
<a href="#node%3AXML%3A%3ANode-instance-method" class="signature"><strong>#node</strong> : XML::Node</a>
</li>
<li class="entry-summary">
<a href="#parent%3ATag%3F-instance-method" class="signature"><strong>#parent</strong> : Tag?</a>
</li>
<li class="entry-summary">
<a href="#tagname%3AString-instance-method" class="signature"><strong>#tagname</strong> : String</a>
</li>
</ul>
<h2>Macro Summary</h2>
<ul class="list-summary">
<li class="entry-summary">
<a href="#method_missing%28call%29-macro" class="signature"><strong>method_missing</strong>(call)</a>
</li>
</ul>
<div class="methods-inherited">
</div>
<h2>Constructor Detail</h2>
<div class="entry-detail" id="new(node:XML::Node)-class-method">
<div class="signature">
def self.<strong>new</strong>(node : XML::Node)
<a class="method-permalink" href="#new%28node%3AXML%3A%3ANode%29-class-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/document/html.cr#L155" target="_blank">View source</a>]
</div>
</div>
<h2>Instance Method Detail</h2>
<div class="entry-detail" id="children:Array(Tag)-instance-method">
<div class="signature">
def <strong>children</strong> : Array(<a href="../../../Arachnid/Document/HTML/Tag.html">Tag</a>)
<a class="method-permalink" href="#children%3AArray%28Tag%29-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/document/html.cr#L177" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="classname:String?-instance-method">
<div class="signature">
def <strong>classname</strong> : String?
<a class="method-permalink" href="#classname%3AString%3F-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/document/html.cr#L158" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="content:String-instance-method">
<div class="signature">
def <strong>content</strong> : String
<a class="method-permalink" href="#content%3AString-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/document/html.cr#L166" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="has_class?(klass:String):Bool-instance-method">
<div class="signature">
def <strong>has_class?</strong>(klass : String) : Bool
<a class="method-permalink" href="#has_class%3F%28klass%3AString%29%3ABool-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/document/html.cr#L187" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="node:XML::Node-instance-method">
<div class="signature">
def <strong>node</strong> : XML::Node
<a class="method-permalink" href="#node%3AXML%3A%3ANode-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/document/html.cr#L153" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="parent:Tag?-instance-method">
<div class="signature">
def <strong>parent</strong> : <a href="../../../Arachnid/Document/HTML/Tag.html">Tag</a>?
<a class="method-permalink" href="#parent%3ATag%3F-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/document/html.cr#L170" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="tagname:String-instance-method">
<div class="signature">
def <strong>tagname</strong> : String
<a class="method-permalink" href="#tagname%3AString-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/document/html.cr#L162" target="_blank">View source</a>]
</div>
</div>
<h2>Macro Detail</h2>
<div class="entry-detail" id="method_missing(call)-macro">
<div class="signature">
macro <strong>method_missing</strong>(call)
<a class="method-permalink" href="#method_missing%28call%29-macro">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/document/html.cr#L153" target="_blank">View source</a>]
</div>
</div>
</div>
</body>
</html>

1787
docs/Arachnid/Resource.html Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,597 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 0.29.0">
<link href="../../css/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../../js/doc.js"></script>
<script type="text/javascript">
CrystalDoc.base_path = "../../";
</script>
<meta id="repository-name" content="github.com/watzon/arachnid">
<title>Arachnid::Resource::Cookies - github.com/watzon/arachnid</title>
</head>
<body>
<div class="sidebar">
<div class="sidebar-header">
<div class="search-box">
<input type="search" class="search-input" placeholder="Search..." spellcheck="false" aria-label="Search">
</div>
<div class="repository-links">
<a href="../../index.html">README</a>
</div>
</div>
<div class="search-results" class="hidden">
<ul class="search-list"></ul>
</div>
<div class="types-list">
<ul>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid" data-name="arachnid">
<a href="../../Arachnid.html">Arachnid</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Agent" data-name="arachnid::agent">
<a href="../../Arachnid/Agent.html">Agent</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions" data-name="arachnid::agent::actions">
<a href="../../Arachnid/Agent/Actions.html">Actions</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Action" data-name="arachnid::agent::actions::action">
<a href="../../Arachnid/Agent/Actions/Action.html">Action</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Paused" data-name="arachnid::agent::actions::paused">
<a href="../../Arachnid/Agent/Actions/Paused.html">Paused</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/RuntimeError" data-name="arachnid::agent::actions::runtimeerror">
<a href="../../Arachnid/Agent/Actions/RuntimeError.html">RuntimeError</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipLink" data-name="arachnid::agent::actions::skiplink">
<a href="../../Arachnid/Agent/Actions/SkipLink.html">SkipLink</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipResource" data-name="arachnid::agent::actions::skipresource">
<a href="../../Arachnid/Agent/Actions/SkipResource.html">SkipResource</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Queue" data-name="arachnid::agent::queue">
<a href="../../Arachnid/Agent/Queue.html">Queue</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthCredential" data-name="arachnid::authcredential">
<a href="../../Arachnid/AuthCredential.html">AuthCredential</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthStore" data-name="arachnid::authstore">
<a href="../../Arachnid/AuthStore.html">AuthStore</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli" data-name="arachnid::cli">
<a href="../../Arachnid/Cli.html">Cli</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Action" data-name="arachnid::cli::action">
<a href="../../Arachnid/Cli/Action.html">Action</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library.html">Command_Main_command_of_clim_library</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap.html">Command_Sitemap</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::runproc">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize.html">Command_Summarize</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::runproc">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::runproc">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Count" data-name="arachnid::cli::count">
<a href="../../Arachnid/Cli/Count.html">Count</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap" data-name="arachnid::cli::sitemap">
<a href="../../Arachnid/Cli/Sitemap.html">Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/LastMod" data-name="arachnid::cli::sitemap::lastmod">
<a href="../../Arachnid/Cli/Sitemap/LastMod.html">LastMod</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/PageMap" data-name="arachnid::cli::sitemap::pagemap">
<a href="../../Arachnid/Cli/Sitemap/PageMap.html">PageMap</a>
</li>
</ul>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/CookieJar" data-name="arachnid::cookiejar">
<a href="../../Arachnid/CookieJar.html">CookieJar</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Document" data-name="arachnid::document">
<a href="../../Arachnid/Document.html">Document</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML" data-name="arachnid::document::html">
<a href="../../Arachnid/Document/HTML.html">HTML</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML/Tag" data-name="arachnid::document::html::tag">
<a href="../../Arachnid/Document/HTML/Tag.html">Tag</a>
</li>
</ul>
</li>
</ul>
</li>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid/Resource" data-name="arachnid::resource">
<a href="../../Arachnid/Resource.html">Resource</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/ContentTypes" data-name="arachnid::resource::contenttypes">
<a href="../../Arachnid/Resource/ContentTypes.html">ContentTypes</a>
</li>
<li class=" current" data-id="github.com/watzon/arachnid/Arachnid/Resource/Cookies" data-name="arachnid::resource::cookies">
<a href="../../Arachnid/Resource/Cookies.html">Cookies</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/HTML" data-name="arachnid::resource::html">
<a href="../../Arachnid/Resource/HTML.html">HTML</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/StatusCodes" data-name="arachnid::resource::statuscodes">
<a href="../../Arachnid/Resource/StatusCodes.html">StatusCodes</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Rules" data-name="arachnid::rules(t)">
<a href="../../Arachnid/Rules.html">Rules</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/SessionCache" data-name="arachnid::sessioncache">
<a href="../../Arachnid/SessionCache.html">SessionCache</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/URI" data-name="uri">
<a href="../../URI.html">URI</a>
</li>
</ul>
</div>
</div>
<div class="main-content">
<h1 class="type-name">
<span class="kind">module</span> Arachnid::Resource::Cookies
</h1>
<h2>Direct including types</h2>
<ul class="other-types-list">
<li class="other-type"><a href="../../Arachnid/Resource.html">Arachnid::Resource</a></li>
</ul>
<h2>Defined in:</h2>
<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/resource/cookies.cr#L3" target="_blank">
arachnid/resource/cookies.cr
</a>
<br/>
<h2>Constant Summary</h2>
<dl>
<dt class="entry-const" id="RESERVED_COOKIE_NAMES">
<strong>RESERVED_COOKIE_NAMES</strong> = <code><span class="t">Regex</span>.<span class="k">new</span>(<span class="s">&quot;^(?:Path|Expires|Domain|Secure|HTTPOnly)$&quot;</span>, <span class="n">:ignore_case</span>)</code>
</dt>
<dd class="entry-const-doc">
<p>Reserved names used within Cookie strings</p>
</dd>
</dl>
<h2>Instance Method Summary</h2>
<ul class="list-summary">
<li class="entry-summary">
<a href="#cookie-instance-method" class="signature"><strong>#cookie</strong></a>
<div class="summary"><p>The raw Cookie String sent along with the resource.</p></div>
</li>
<li class="entry-summary">
<a href="#cookies-instance-method" class="signature"><strong>#cookies</strong></a>
<div class="summary"><p>The Cookie values sent along with the resource.</p></div>
</li>
</ul>
<div class="methods-inherited">
</div>
<h2>Instance Method Detail</h2>
<div class="entry-detail" id="cookie-instance-method">
<div class="signature">
def <strong>cookie</strong>
<a class="method-permalink" href="#cookie-instance-method">#</a>
</div>
<div class="doc"><p>The raw Cookie String sent along with the resource.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/resource/cookies.cr#L8" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="cookies-instance-method">
<div class="signature">
def <strong>cookies</strong>
<a class="method-permalink" href="#cookies-instance-method">#</a>
</div>
<div class="doc"><p>The Cookie values sent along with the resource.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/resource/cookies.cr#L13" target="_blank">View source</a>]
</div>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,970 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 0.29.0">
<link href="../../css/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../../js/doc.js"></script>
<script type="text/javascript">
CrystalDoc.base_path = "../../";
</script>
<meta id="repository-name" content="github.com/watzon/arachnid">
<title>Arachnid::Resource::HTML - github.com/watzon/arachnid</title>
</head>
<body>
<div class="sidebar">
<div class="sidebar-header">
<div class="search-box">
<input type="search" class="search-input" placeholder="Search..." spellcheck="false" aria-label="Search">
</div>
<div class="repository-links">
<a href="../../index.html">README</a>
</div>
</div>
<div class="search-results" class="hidden">
<ul class="search-list"></ul>
</div>
<div class="types-list">
<ul>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid" data-name="arachnid">
<a href="../../Arachnid.html">Arachnid</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Agent" data-name="arachnid::agent">
<a href="../../Arachnid/Agent.html">Agent</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions" data-name="arachnid::agent::actions">
<a href="../../Arachnid/Agent/Actions.html">Actions</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Action" data-name="arachnid::agent::actions::action">
<a href="../../Arachnid/Agent/Actions/Action.html">Action</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Paused" data-name="arachnid::agent::actions::paused">
<a href="../../Arachnid/Agent/Actions/Paused.html">Paused</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/RuntimeError" data-name="arachnid::agent::actions::runtimeerror">
<a href="../../Arachnid/Agent/Actions/RuntimeError.html">RuntimeError</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipLink" data-name="arachnid::agent::actions::skiplink">
<a href="../../Arachnid/Agent/Actions/SkipLink.html">SkipLink</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipResource" data-name="arachnid::agent::actions::skipresource">
<a href="../../Arachnid/Agent/Actions/SkipResource.html">SkipResource</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Queue" data-name="arachnid::agent::queue">
<a href="../../Arachnid/Agent/Queue.html">Queue</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthCredential" data-name="arachnid::authcredential">
<a href="../../Arachnid/AuthCredential.html">AuthCredential</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthStore" data-name="arachnid::authstore">
<a href="../../Arachnid/AuthStore.html">AuthStore</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli" data-name="arachnid::cli">
<a href="../../Arachnid/Cli.html">Cli</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Action" data-name="arachnid::cli::action">
<a href="../../Arachnid/Cli/Action.html">Action</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library.html">Command_Main_command_of_clim_library</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap.html">Command_Sitemap</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::runproc">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize.html">Command_Summarize</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::runproc">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::runproc">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Count" data-name="arachnid::cli::count">
<a href="../../Arachnid/Cli/Count.html">Count</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap" data-name="arachnid::cli::sitemap">
<a href="../../Arachnid/Cli/Sitemap.html">Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/LastMod" data-name="arachnid::cli::sitemap::lastmod">
<a href="../../Arachnid/Cli/Sitemap/LastMod.html">LastMod</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/PageMap" data-name="arachnid::cli::sitemap::pagemap">
<a href="../../Arachnid/Cli/Sitemap/PageMap.html">PageMap</a>
</li>
</ul>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/CookieJar" data-name="arachnid::cookiejar">
<a href="../../Arachnid/CookieJar.html">CookieJar</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Document" data-name="arachnid::document">
<a href="../../Arachnid/Document.html">Document</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML" data-name="arachnid::document::html">
<a href="../../Arachnid/Document/HTML.html">HTML</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML/Tag" data-name="arachnid::document::html::tag">
<a href="../../Arachnid/Document/HTML/Tag.html">Tag</a>
</li>
</ul>
</li>
</ul>
</li>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid/Resource" data-name="arachnid::resource">
<a href="../../Arachnid/Resource.html">Resource</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/ContentTypes" data-name="arachnid::resource::contenttypes">
<a href="../../Arachnid/Resource/ContentTypes.html">ContentTypes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/Cookies" data-name="arachnid::resource::cookies">
<a href="../../Arachnid/Resource/Cookies.html">Cookies</a>
</li>
<li class=" current" data-id="github.com/watzon/arachnid/Arachnid/Resource/HTML" data-name="arachnid::resource::html">
<a href="../../Arachnid/Resource/HTML.html">HTML</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/StatusCodes" data-name="arachnid::resource::statuscodes">
<a href="../../Arachnid/Resource/StatusCodes.html">StatusCodes</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Rules" data-name="arachnid::rules(t)">
<a href="../../Arachnid/Rules.html">Rules</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/SessionCache" data-name="arachnid::sessioncache">
<a href="../../Arachnid/SessionCache.html">SessionCache</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/URI" data-name="uri">
<a href="../../URI.html">URI</a>
</li>
</ul>
</div>
</div>
<div class="main-content">
<h1 class="type-name">
<span class="kind">module</span> Arachnid::Resource::HTML
</h1>
<h2>Overview</h2>
<p><span class="flag orange">TODO</span> Create enumerable methods for the methods that take a block</p>
<h2>Direct including types</h2>
<ul class="other-types-list">
<li class="other-type"><a href="../../Arachnid/Resource.html">Arachnid::Resource</a></li>
</ul>
<h2>Defined in:</h2>
<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/resource/html.cr#L6" target="_blank">
arachnid/resource/html.cr
</a>
<br/>
<h2>Instance Method Summary</h2>
<ul class="list-summary">
<li class="entry-summary">
<a href="#each%28%26block%29-instance-method" class="signature"><strong>#each</strong>(&block)</a>
<div class="summary"><p>Enumerates over every URL in the resource.</p></div>
</li>
<li class="entry-summary">
<a href="#each_image%28%26block%3AURI-%3E%29-instance-method" class="signature"><strong>#each_image</strong>(&block : URI -> )</a>
</li>
<li class="entry-summary">
<a href="#each_link%28%26block%3AURI-%3E%29-instance-method" class="signature"><strong>#each_link</strong>(&block : URI -> )</a>
<div class="summary"><p>Enumerates over every link in the resource.</p></div>
</li>
<li class="entry-summary">
<a href="#each_mailto%28%26block%29-instance-method" class="signature"><strong>#each_mailto</strong>(&block)</a>
<div class="summary"><p>Enumerates over every <code>mailto:</code> link in the resource.</p></div>
</li>
<li class="entry-summary">
<a href="#each_meta_redirect%28%26block%3AURI-%3E%29-instance-method" class="signature"><strong>#each_meta_redirect</strong>(&block : URI -> )</a>
<div class="summary"><p>Enumerates over the meta-redirect links in the resource.</p></div>
</li>
<li class="entry-summary">
<a href="#each_redirect%28%26block%3AURI-%3E%29-instance-method" class="signature"><strong>#each_redirect</strong>(&block : URI -> )</a>
<div class="summary"><p>Enumerates over every HTTP or meta-redirect link in the resource.</p></div>
</li>
<li class="entry-summary">
<a href="#each_resource%28%26block%3AURI-%3E%29-instance-method" class="signature"><strong>#each_resource</strong>(&block : URI -> )</a>
</li>
<li class="entry-summary">
<a href="#each_script%28%26block%3AURI-%3E%29-instance-method" class="signature"><strong>#each_script</strong>(&block : URI -> )</a>
</li>
<li class="entry-summary">
<a href="#each_url%28%26block%3AURI-%3E%29-instance-method" class="signature"><strong>#each_url</strong>(&block : URI -> )</a>
<div class="summary"><p>Enumerates over every URL in the resource.</p></div>
</li>
<li class="entry-summary">
<a href="#each_video%28%26block%3AURI-%3E%29-instance-method" class="signature"><strong>#each_video</strong>(&block : URI -> )</a>
</li>
<li class="entry-summary">
<a href="#links-instance-method" class="signature"><strong>#links</strong></a>
<div class="summary"><p>The links from within the resource.</p></div>
</li>
<li class="entry-summary">
<a href="#mailtos-instance-method" class="signature"><strong>#mailtos</strong></a>
<div class="summary"><p><code>mailto:</code> links in the resource.</p></div>
</li>
<li class="entry-summary">
<a href="#meta_redirect%3F-instance-method" class="signature"><strong>#meta_redirect?</strong></a>
<div class="summary"><p>Returns a boolean indicating whether or not resource-level meta redirects are present in this resource.</p></div>
</li>
<li class="entry-summary">
<a href="#meta_redirects-instance-method" class="signature"><strong>#meta_redirects</strong></a>
<div class="summary"><p>The meta-redirect links of the resource.</p></div>
</li>
<li class="entry-summary">
<a href="#redirects_to-instance-method" class="signature"><strong>#redirects_to</strong></a>
<div class="summary"><p>URLs that this document redirects to.</p></div>
</li>
<li class="entry-summary">
<a href="#title-instance-method" class="signature"><strong>#title</strong></a>
<div class="summary"><p>The title of the HTML resource.</p></div>
</li>
<li class="entry-summary">
<a href="#to_absolute%28link%29-instance-method" class="signature"><strong>#to_absolute</strong>(link)</a>
<div class="summary"><p>Normalizes and expands a given link into a proper URI.</p></div>
</li>
<li class="entry-summary">
<a href="#urls-instance-method" class="signature"><strong>#urls</strong></a>
<div class="summary"><p>Absolute URIs from within the resource.</p></div>
</li>
</ul>
<div class="methods-inherited">
</div>
<h2>Instance Method Detail</h2>
<div class="entry-detail" id="each(&amp;block)-instance-method">
<div class="signature">
def <strong>each</strong>(&block)
<a class="method-permalink" href="#each%28%26block%29-instance-method">#</a>
</div>
<div class="doc"><p>Enumerates over every URL in the resource.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/resource/html.cr#L167" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="each_image(&amp;block:URI-&gt;)-instance-method">
<div class="signature">
def <strong>each_image</strong>(&block : <a href="../../URI.html">URI</a> -> )
<a class="method-permalink" href="#each_image%28%26block%3AURI-%3E%29-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/resource/html.cr#L119" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="each_link(&amp;block:URI-&gt;)-instance-method">
<div class="signature">
def <strong>each_link</strong>(&block : <a href="../../URI.html">URI</a> -> )
<a class="method-permalink" href="#each_link%28%26block%3AURI-%3E%29-instance-method">#</a>
</div>
<div class="doc"><p>Enumerates over every link in the resource.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/resource/html.cr#L75" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="each_mailto(&amp;block)-instance-method">
<div class="signature">
def <strong>each_mailto</strong>(&block)
<a class="method-permalink" href="#each_mailto%28%26block%29-instance-method">#</a>
</div>
<div class="doc"><p>Enumerates over every <code>mailto:</code> link in the resource.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/resource/html.cr#L61" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="each_meta_redirect(&amp;block:URI-&gt;)-instance-method">
<div class="signature">
def <strong>each_meta_redirect</strong>(&block : <a href="../../URI.html">URI</a> -> )
<a class="method-permalink" href="#each_meta_redirect%28%26block%3AURI-%3E%29-instance-method">#</a>
</div>
<div class="doc"><p>Enumerates over the meta-redirect links in the resource.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/resource/html.cr#L17" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="each_redirect(&amp;block:URI-&gt;)-instance-method">
<div class="signature">
def <strong>each_redirect</strong>(&block : <a href="../../URI.html">URI</a> -> )
<a class="method-permalink" href="#each_redirect%28%26block%3AURI-%3E%29-instance-method">#</a>
</div>
<div class="doc"><p>Enumerates over every HTTP or meta-redirect link in the resource.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/resource/html.cr#L45" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="each_resource(&amp;block:URI-&gt;)-instance-method">
<div class="signature">
def <strong>each_resource</strong>(&block : <a href="../../URI.html">URI</a> -> )
<a class="method-permalink" href="#each_resource%28%26block%3AURI-%3E%29-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/resource/html.cr#L111" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="each_script(&amp;block:URI-&gt;)-instance-method">
<div class="signature">
def <strong>each_script</strong>(&block : <a href="../../URI.html">URI</a> -> )
<a class="method-permalink" href="#each_script%28%26block%3AURI-%3E%29-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/resource/html.cr#L102" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="each_url(&amp;block:URI-&gt;)-instance-method">
<div class="signature">
def <strong>each_url</strong>(&block : <a href="../../URI.html">URI</a> -> )
<a class="method-permalink" href="#each_url%28%26block%3AURI-%3E%29-instance-method">#</a>
</div>
<div class="doc"><p>Enumerates over every URL in the resource.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/resource/html.cr#L158" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="each_video(&amp;block:URI-&gt;)-instance-method">
<div class="signature">
def <strong>each_video</strong>(&block : <a href="../../URI.html">URI</a> -> )
<a class="method-permalink" href="#each_video%28%26block%3AURI-%3E%29-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/resource/html.cr#L136" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="links-instance-method">
<div class="signature">
def <strong>links</strong>
<a class="method-permalink" href="#links-instance-method">#</a>
</div>
<div class="doc"><p>The links from within the resource.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/resource/html.cr#L151" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="mailtos-instance-method">
<div class="signature">
def <strong>mailtos</strong>
<a class="method-permalink" href="#mailtos-instance-method">#</a>
</div>
<div class="doc"><p><code>mailto:</code> links in the resource.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/resource/html.cr#L70" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="meta_redirect?-instance-method">
<div class="signature">
def <strong>meta_redirect?</strong>
<a class="method-permalink" href="#meta_redirect%3F-instance-method">#</a>
</div>
<div class="doc"><p>Returns a boolean indicating whether or not resource-level meta
redirects are present in this resource.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/resource/html.cr#L33" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="meta_redirects-instance-method">
<div class="signature">
def <strong>meta_redirects</strong>
<a class="method-permalink" href="#meta_redirects-instance-method">#</a>
</div>
<div class="doc"><p>The meta-redirect links of the resource.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/resource/html.cr#L38" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="redirects_to-instance-method">
<div class="signature">
def <strong>redirects_to</strong>
<a class="method-permalink" href="#redirects_to-instance-method">#</a>
</div>
<div class="doc"><p>URLs that this document redirects to.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/resource/html.cr#L56" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="title-instance-method">
<div class="signature">
def <strong>title</strong>
<a class="method-permalink" href="#title-instance-method">#</a>
</div>
<div class="doc"><p>The title of the HTML resource.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/resource/html.cr#L10" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="to_absolute(link)-instance-method">
<div class="signature">
def <strong>to_absolute</strong>(link)
<a class="method-permalink" href="#to_absolute%28link%29-instance-method">#</a>
</div>
<div class="doc"><p>Normalizes and expands a given link into a proper URI.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/resource/html.cr#L179" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="urls-instance-method">
<div class="signature">
def <strong>urls</strong>
<a class="method-permalink" href="#urls-instance-method">#</a>
</div>
<div class="doc"><p>Absolute URIs from within the resource.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/resource/html.cr#L172" target="_blank">View source</a>]
</div>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,758 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 0.29.0">
<link href="../../css/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../../js/doc.js"></script>
<script type="text/javascript">
CrystalDoc.base_path = "../../";
</script>
<meta id="repository-name" content="github.com/watzon/arachnid">
<title>Arachnid::Resource::StatusCodes - github.com/watzon/arachnid</title>
</head>
<body>
<div class="sidebar">
<div class="sidebar-header">
<div class="search-box">
<input type="search" class="search-input" placeholder="Search..." spellcheck="false" aria-label="Search">
</div>
<div class="repository-links">
<a href="../../index.html">README</a>
</div>
</div>
<div class="search-results" class="hidden">
<ul class="search-list"></ul>
</div>
<div class="types-list">
<ul>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid" data-name="arachnid">
<a href="../../Arachnid.html">Arachnid</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Agent" data-name="arachnid::agent">
<a href="../../Arachnid/Agent.html">Agent</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions" data-name="arachnid::agent::actions">
<a href="../../Arachnid/Agent/Actions.html">Actions</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Action" data-name="arachnid::agent::actions::action">
<a href="../../Arachnid/Agent/Actions/Action.html">Action</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Paused" data-name="arachnid::agent::actions::paused">
<a href="../../Arachnid/Agent/Actions/Paused.html">Paused</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/RuntimeError" data-name="arachnid::agent::actions::runtimeerror">
<a href="../../Arachnid/Agent/Actions/RuntimeError.html">RuntimeError</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipLink" data-name="arachnid::agent::actions::skiplink">
<a href="../../Arachnid/Agent/Actions/SkipLink.html">SkipLink</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipResource" data-name="arachnid::agent::actions::skipresource">
<a href="../../Arachnid/Agent/Actions/SkipResource.html">SkipResource</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Queue" data-name="arachnid::agent::queue">
<a href="../../Arachnid/Agent/Queue.html">Queue</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthCredential" data-name="arachnid::authcredential">
<a href="../../Arachnid/AuthCredential.html">AuthCredential</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthStore" data-name="arachnid::authstore">
<a href="../../Arachnid/AuthStore.html">AuthStore</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli" data-name="arachnid::cli">
<a href="../../Arachnid/Cli.html">Cli</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Action" data-name="arachnid::cli::action">
<a href="../../Arachnid/Cli/Action.html">Action</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library.html">Command_Main_command_of_clim_library</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap.html">Command_Sitemap</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::runproc">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize.html">Command_Summarize</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::runproc">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::runproc">
<a href="../../Arachnid/Cli/Command_Main_command_of_clim_library/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Count" data-name="arachnid::cli::count">
<a href="../../Arachnid/Cli/Count.html">Count</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap" data-name="arachnid::cli::sitemap">
<a href="../../Arachnid/Cli/Sitemap.html">Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/LastMod" data-name="arachnid::cli::sitemap::lastmod">
<a href="../../Arachnid/Cli/Sitemap/LastMod.html">LastMod</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/PageMap" data-name="arachnid::cli::sitemap::pagemap">
<a href="../../Arachnid/Cli/Sitemap/PageMap.html">PageMap</a>
</li>
</ul>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/CookieJar" data-name="arachnid::cookiejar">
<a href="../../Arachnid/CookieJar.html">CookieJar</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Document" data-name="arachnid::document">
<a href="../../Arachnid/Document.html">Document</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML" data-name="arachnid::document::html">
<a href="../../Arachnid/Document/HTML.html">HTML</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML/Tag" data-name="arachnid::document::html::tag">
<a href="../../Arachnid/Document/HTML/Tag.html">Tag</a>
</li>
</ul>
</li>
</ul>
</li>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid/Resource" data-name="arachnid::resource">
<a href="../../Arachnid/Resource.html">Resource</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/ContentTypes" data-name="arachnid::resource::contenttypes">
<a href="../../Arachnid/Resource/ContentTypes.html">ContentTypes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/Cookies" data-name="arachnid::resource::cookies">
<a href="../../Arachnid/Resource/Cookies.html">Cookies</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/HTML" data-name="arachnid::resource::html">
<a href="../../Arachnid/Resource/HTML.html">HTML</a>
</li>
<li class=" current" data-id="github.com/watzon/arachnid/Arachnid/Resource/StatusCodes" data-name="arachnid::resource::statuscodes">
<a href="../../Arachnid/Resource/StatusCodes.html">StatusCodes</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Rules" data-name="arachnid::rules(t)">
<a href="../../Arachnid/Rules.html">Rules</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/SessionCache" data-name="arachnid::sessioncache">
<a href="../../Arachnid/SessionCache.html">SessionCache</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/URI" data-name="uri">
<a href="../../URI.html">URI</a>
</li>
</ul>
</div>
</div>
<div class="main-content">
<h1 class="type-name">
<span class="kind">module</span> Arachnid::Resource::StatusCodes
</h1>
<h2>Direct including types</h2>
<ul class="other-types-list">
<li class="other-type"><a href="../../Arachnid/Resource.html">Arachnid::Resource</a></li>
</ul>
<h2>Defined in:</h2>
<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/resource/status_codes.cr#L3" target="_blank">
arachnid/resource/status_codes.cr
</a>
<br/>
<h2>Instance Method Summary</h2>
<ul class="list-summary">
<li class="entry-summary">
<a href="#bad_request%3F-instance-method" class="signature"><strong>#bad_request?</strong></a>
<div class="summary"><p>Determines if the response code is <code>400</code>.</p></div>
</li>
<li class="entry-summary">
<a href="#code-instance-method" class="signature"><strong>#code</strong></a>
<div class="summary"><p>The response code from the resource.</p></div>
</li>
<li class="entry-summary">
<a href="#forbidden%3F-instance-method" class="signature"><strong>#forbidden?</strong></a>
<div class="summary"><p>Determines if the response code is <code>403</code>.</p></div>
</li>
<li class="entry-summary">
<a href="#had_internal_server_error%3F-instance-method" class="signature"><strong>#had_internal_server_error?</strong></a>
<div class="summary"><p>Determines if the response code is <code>500</code>.</p></div>
</li>
<li class="entry-summary">
<a href="#missing%3F-instance-method" class="signature"><strong>#missing?</strong></a>
<div class="summary"><p>Determines if the response code is <code>404</code>.</p></div>
</li>
<li class="entry-summary">
<a href="#ok%3F-instance-method" class="signature"><strong>#ok?</strong></a>
<div class="summary"><p>Determines if the response code is <code>200</code>.</p></div>
</li>
<li class="entry-summary">
<a href="#redirect%3F-instance-method" class="signature"><strong>#redirect?</strong></a>
<div class="summary"><p>Determines if the response code is <code>300</code>, <code>301</code>, <code>302</code>, <code>303</code> or <code>307</code>.</p></div>
</li>
<li class="entry-summary">
<a href="#timedout%3F-instance-method" class="signature"><strong>#timedout?</strong></a>
<div class="summary"><p>Determines if the response code is <code>308</code>.</p></div>
</li>
<li class="entry-summary">
<a href="#unauthorized%3F-instance-method" class="signature"><strong>#unauthorized?</strong></a>
<div class="summary"><p>Determines if the response code is <code>401</code>.</p></div>
</li>
</ul>
<div class="methods-inherited">
</div>
<h2>Instance Method Detail</h2>
<div class="entry-detail" id="bad_request?-instance-method">
<div class="signature">
def <strong>bad_request?</strong>
<a class="method-permalink" href="#bad_request%3F-instance-method">#</a>
</div>
<div class="doc"><p>Determines if the response code is <code>400</code>.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/resource/status_codes.cr#L20" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="code-instance-method">
<div class="signature">
def <strong>code</strong>
<a class="method-permalink" href="#code-instance-method">#</a>
</div>
<div class="doc"><p>The response code from the resource.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/resource/status_codes.cr#L5" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="forbidden?-instance-method">
<div class="signature">
def <strong>forbidden?</strong>
<a class="method-permalink" href="#forbidden%3F-instance-method">#</a>
</div>
<div class="doc"><p>Determines if the response code is <code>403</code>.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/resource/status_codes.cr#L30" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="had_internal_server_error?-instance-method">
<div class="signature">
def <strong>had_internal_server_error?</strong>
<a class="method-permalink" href="#had_internal_server_error%3F-instance-method">#</a>
</div>
<div class="doc"><p>Determines if the response code is <code>500</code>.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/resource/status_codes.cr#L40" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="missing?-instance-method">
<div class="signature">
def <strong>missing?</strong>
<a class="method-permalink" href="#missing%3F-instance-method">#</a>
</div>
<div class="doc"><p>Determines if the response code is <code>404</code>.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/resource/status_codes.cr#L35" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="ok?-instance-method">
<div class="signature">
def <strong>ok?</strong>
<a class="method-permalink" href="#ok%3F-instance-method">#</a>
</div>
<div class="doc"><p>Determines if the response code is <code>200</code>.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/resource/status_codes.cr#L10" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="redirect?-instance-method">
<div class="signature">
def <strong>redirect?</strong>
<a class="method-permalink" href="#redirect%3F-instance-method">#</a>
</div>
<div class="doc"><p>Determines if the response code is <code>300</code>, <code>301</code>, <code>302</code>, <code>303</code>
or <code>307</code>. Also checks for "soft" redirects added at the resource
level by a meta refresh tag.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/resource/status_codes.cr#L47" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="timedout?-instance-method">
<div class="signature">
def <strong>timedout?</strong>
<a class="method-permalink" href="#timedout%3F-instance-method">#</a>
</div>
<div class="doc"><p>Determines if the response code is <code>308</code>.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/resource/status_codes.cr#L15" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="unauthorized?-instance-method">
<div class="signature">
def <strong>unauthorized?</strong>
<a class="method-permalink" href="#unauthorized%3F-instance-method">#</a>
</div>
<div class="doc"><p>Determines if the response code is <code>401</code>.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/resource/status_codes.cr#L25" target="_blank">View source</a>]
</div>
</div>
</div>
</body>
</html>

726
docs/Arachnid/Rules.html Normal file
View File

@ -0,0 +1,726 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 0.29.0">
<link href="../css/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../js/doc.js"></script>
<script type="text/javascript">
CrystalDoc.base_path = "../";
</script>
<meta id="repository-name" content="github.com/watzon/arachnid">
<title>Arachnid::Rules(T) - github.com/watzon/arachnid</title>
</head>
<body>
<div class="sidebar">
<div class="sidebar-header">
<div class="search-box">
<input type="search" class="search-input" placeholder="Search..." spellcheck="false" aria-label="Search">
</div>
<div class="repository-links">
<a href="../index.html">README</a>
</div>
</div>
<div class="search-results" class="hidden">
<ul class="search-list"></ul>
</div>
<div class="types-list">
<ul>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid" data-name="arachnid">
<a href="../Arachnid.html">Arachnid</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Agent" data-name="arachnid::agent">
<a href="../Arachnid/Agent.html">Agent</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions" data-name="arachnid::agent::actions">
<a href="../Arachnid/Agent/Actions.html">Actions</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Action" data-name="arachnid::agent::actions::action">
<a href="../Arachnid/Agent/Actions/Action.html">Action</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Paused" data-name="arachnid::agent::actions::paused">
<a href="../Arachnid/Agent/Actions/Paused.html">Paused</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/RuntimeError" data-name="arachnid::agent::actions::runtimeerror">
<a href="../Arachnid/Agent/Actions/RuntimeError.html">RuntimeError</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipLink" data-name="arachnid::agent::actions::skiplink">
<a href="../Arachnid/Agent/Actions/SkipLink.html">SkipLink</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipResource" data-name="arachnid::agent::actions::skipresource">
<a href="../Arachnid/Agent/Actions/SkipResource.html">SkipResource</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Queue" data-name="arachnid::agent::queue">
<a href="../Arachnid/Agent/Queue.html">Queue</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthCredential" data-name="arachnid::authcredential">
<a href="../Arachnid/AuthCredential.html">AuthCredential</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthStore" data-name="arachnid::authstore">
<a href="../Arachnid/AuthStore.html">AuthStore</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli" data-name="arachnid::cli">
<a href="../Arachnid/Cli.html">Cli</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Action" data-name="arachnid::cli::action">
<a href="../Arachnid/Cli/Action.html">Action</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library.html">Command_Main_command_of_clim_library</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap.html">Command_Sitemap</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::runproc">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize.html">Command_Summarize</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::runproc">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::runproc">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Count" data-name="arachnid::cli::count">
<a href="../Arachnid/Cli/Count.html">Count</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap" data-name="arachnid::cli::sitemap">
<a href="../Arachnid/Cli/Sitemap.html">Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/LastMod" data-name="arachnid::cli::sitemap::lastmod">
<a href="../Arachnid/Cli/Sitemap/LastMod.html">LastMod</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/PageMap" data-name="arachnid::cli::sitemap::pagemap">
<a href="../Arachnid/Cli/Sitemap/PageMap.html">PageMap</a>
</li>
</ul>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/CookieJar" data-name="arachnid::cookiejar">
<a href="../Arachnid/CookieJar.html">CookieJar</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Document" data-name="arachnid::document">
<a href="../Arachnid/Document.html">Document</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML" data-name="arachnid::document::html">
<a href="../Arachnid/Document/HTML.html">HTML</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML/Tag" data-name="arachnid::document::html::tag">
<a href="../Arachnid/Document/HTML/Tag.html">Tag</a>
</li>
</ul>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Resource" data-name="arachnid::resource">
<a href="../Arachnid/Resource.html">Resource</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/ContentTypes" data-name="arachnid::resource::contenttypes">
<a href="../Arachnid/Resource/ContentTypes.html">ContentTypes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/Cookies" data-name="arachnid::resource::cookies">
<a href="../Arachnid/Resource/Cookies.html">Cookies</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/HTML" data-name="arachnid::resource::html">
<a href="../Arachnid/Resource/HTML.html">HTML</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/StatusCodes" data-name="arachnid::resource::statuscodes">
<a href="../Arachnid/Resource/StatusCodes.html">StatusCodes</a>
</li>
</ul>
</li>
<li class=" current" data-id="github.com/watzon/arachnid/Arachnid/Rules" data-name="arachnid::rules(t)">
<a href="../Arachnid/Rules.html">Rules</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/SessionCache" data-name="arachnid::sessioncache">
<a href="../Arachnid/SessionCache.html">SessionCache</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/URI" data-name="uri">
<a href="../URI.html">URI</a>
</li>
</ul>
</div>
</div>
<div class="main-content">
<h1 class="type-name">
<span class="kind">class</span> Arachnid::Rules(T)
</h1>
<ul class="superclass-hierarchy"><li class="superclass"><a href="../Arachnid/Rules.html">Arachnid::Rules(T)</a></li><li class="superclass">Reference</li><li class="superclass">Object</li></ul>
<h2>Overview</h2>
<p>The <code><a href="../Arachnid/Rules.html">Rules</a></code> class represents collections of acceptance and rejection
rules, which are used to filter data.</p>
<h2>Defined in:</h2>
<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/rules.cr#L4" target="_blank">
arachnid/rules.cr
</a>
<br/>
<h2>Constructors</h2>
<ul class="list-summary">
<li class="entry-summary">
<a href="#new%28accept%3AArray%28Proc%28T%3F%2CBool%29%7CT%7CRegex%7CString%29%3F%3Dnil%2Creject%3AArray%28Proc%28T%3F%2CBool%29%7CT%7CRegex%7CString%29%3F%3Dnil%29-class-method" class="signature"><strong>.new</strong>(accept : Array(Proc(T?, Bool) | T | Regex | String)? = <span class="n">nil</span>, reject : Array(Proc(T?, Bool) | T | Regex | String)? = <span class="n">nil</span>)</a>
<div class="summary"><p>Creates a new <code><a href="../Arachnid/Rules.html">Rules</a></code> object.</p></div>
</li>
</ul>
<h2>Instance Method Summary</h2>
<ul class="list-summary">
<li class="entry-summary">
<a href="#accept%3AArray%28Proc%28T%3F%2CBool%29%7CT%7CRegex%7CString%29-instance-method" class="signature"><strong>#accept</strong> : Array(Proc(T?, Bool) | T | Regex | String)</a>
<div class="summary"><p>Accept rules</p></div>
</li>
<li class="entry-summary">
<a href="#accept%3D%28value%29-instance-method" class="signature"><strong>#accept=</strong>(value)</a>
</li>
<li class="entry-summary">
<a href="#accept%3F%28data%3AT%29-instance-method" class="signature"><strong>#accept?</strong>(data : T)</a>
<div class="summary"><p>Determines whether the data should be accepted or rejected.</p></div>
</li>
<li class="entry-summary">
<a href="#reject%3AArray%28Proc%28T%3F%2CBool%29%7CT%7CRegex%7CString%29-instance-method" class="signature"><strong>#reject</strong> : Array(Proc(T?, Bool) | T | Regex | String)</a>
<div class="summary"><p>Reject rules</p></div>
</li>
<li class="entry-summary">
<a href="#reject%3D%28value%29-instance-method" class="signature"><strong>#reject=</strong>(value)</a>
</li>
<li class="entry-summary">
<a href="#reject%3F%28data%3AT%29-instance-method" class="signature"><strong>#reject?</strong>(data : T)</a>
<div class="summary"><p>Determines whether the data should be rejected or accepted.</p></div>
</li>
</ul>
<div class="methods-inherited">
</div>
<h2>Constructor Detail</h2>
<div class="entry-detail" id="new(accept:Array(Proc(T?,Bool)|T|Regex|String)?=nil,reject:Array(Proc(T?,Bool)|T|Regex|String)?=nil)-class-method">
<div class="signature">
def self.<strong>new</strong>(accept : Array(Proc(T?, Bool) | T | Regex | String)? = <span class="n">nil</span>, reject : Array(Proc(T?, Bool) | T | Regex | String)? = <span class="n">nil</span>)
<a class="method-permalink" href="#new%28accept%3AArray%28Proc%28T%3F%2CBool%29%7CT%7CRegex%7CString%29%3F%3Dnil%2Creject%3AArray%28Proc%28T%3F%2CBool%29%7CT%7CRegex%7CString%29%3F%3Dnil%29-class-method">#</a>
</div>
<div class="doc"><p>Creates a new <code><a href="../Arachnid/Rules.html">Rules</a></code> object.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/rules.cr#L12" target="_blank">View source</a>]
</div>
</div>
<h2>Instance Method Detail</h2>
<div class="entry-detail" id="accept:Array(Proc(T?,Bool)|T|Regex|String)-instance-method">
<div class="signature">
def <strong>accept</strong> : Array(Proc(T?, Bool) | T | Regex | String)
<a class="method-permalink" href="#accept%3AArray%28Proc%28T%3F%2CBool%29%7CT%7CRegex%7CString%29-instance-method">#</a>
</div>
<div class="doc"><p>Accept rules</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/rules.cr#L8" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="accept=(value)-instance-method">
<div class="signature">
def <strong>accept=</strong>(value)
<a class="method-permalink" href="#accept%3D%28value%29-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/rules.cr#L25" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="accept?(data:T)-instance-method">
<div class="signature">
def <strong>accept?</strong>(data : T)
<a class="method-permalink" href="#accept%3F%28data%3AT%29-instance-method">#</a>
</div>
<div class="doc"><p>Determines whether the data should be accepted or rejected.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/rules.cr#L18" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="reject:Array(Proc(T?,Bool)|T|Regex|String)-instance-method">
<div class="signature">
def <strong>reject</strong> : Array(Proc(T?, Bool) | T | Regex | String)
<a class="method-permalink" href="#reject%3AArray%28Proc%28T%3F%2CBool%29%7CT%7CRegex%7CString%29-instance-method">#</a>
</div>
<div class="doc"><p>Reject rules</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/rules.cr#L11" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="reject=(value)-instance-method">
<div class="signature">
def <strong>reject=</strong>(value)
<a class="method-permalink" href="#reject%3D%28value%29-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/rules.cr#L34" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="reject?(data:T)-instance-method">
<div class="signature">
def <strong>reject?</strong>(data : T)
<a class="method-permalink" href="#reject%3F%28data%3AT%29-instance-method">#</a>
</div>
<div class="doc"><p>Determines whether the data should be rejected or accepted.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/rules.cr#L30" target="_blank">View source</a>]
</div>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,883 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 0.29.0">
<link href="../css/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../js/doc.js"></script>
<script type="text/javascript">
CrystalDoc.base_path = "../";
</script>
<meta id="repository-name" content="github.com/watzon/arachnid">
<title>Arachnid::SessionCache - github.com/watzon/arachnid</title>
</head>
<body>
<div class="sidebar">
<div class="sidebar-header">
<div class="search-box">
<input type="search" class="search-input" placeholder="Search..." spellcheck="false" aria-label="Search">
</div>
<div class="repository-links">
<a href="../index.html">README</a>
</div>
</div>
<div class="search-results" class="hidden">
<ul class="search-list"></ul>
</div>
<div class="types-list">
<ul>
<li class="parent open current" data-id="github.com/watzon/arachnid/Arachnid" data-name="arachnid">
<a href="../Arachnid.html">Arachnid</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Agent" data-name="arachnid::agent">
<a href="../Arachnid/Agent.html">Agent</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions" data-name="arachnid::agent::actions">
<a href="../Arachnid/Agent/Actions.html">Actions</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Action" data-name="arachnid::agent::actions::action">
<a href="../Arachnid/Agent/Actions/Action.html">Action</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Paused" data-name="arachnid::agent::actions::paused">
<a href="../Arachnid/Agent/Actions/Paused.html">Paused</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/RuntimeError" data-name="arachnid::agent::actions::runtimeerror">
<a href="../Arachnid/Agent/Actions/RuntimeError.html">RuntimeError</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipLink" data-name="arachnid::agent::actions::skiplink">
<a href="../Arachnid/Agent/Actions/SkipLink.html">SkipLink</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipResource" data-name="arachnid::agent::actions::skipresource">
<a href="../Arachnid/Agent/Actions/SkipResource.html">SkipResource</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Queue" data-name="arachnid::agent::queue">
<a href="../Arachnid/Agent/Queue.html">Queue</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthCredential" data-name="arachnid::authcredential">
<a href="../Arachnid/AuthCredential.html">AuthCredential</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthStore" data-name="arachnid::authstore">
<a href="../Arachnid/AuthStore.html">AuthStore</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli" data-name="arachnid::cli">
<a href="../Arachnid/Cli.html">Cli</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Action" data-name="arachnid::cli::action">
<a href="../Arachnid/Cli/Action.html">Action</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library.html">Command_Main_command_of_clim_library</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap.html">Command_Sitemap</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::runproc">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize.html">Command_Summarize</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::runproc">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::runproc">
<a href="../Arachnid/Cli/Command_Main_command_of_clim_library/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Count" data-name="arachnid::cli::count">
<a href="../Arachnid/Cli/Count.html">Count</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap" data-name="arachnid::cli::sitemap">
<a href="../Arachnid/Cli/Sitemap.html">Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/LastMod" data-name="arachnid::cli::sitemap::lastmod">
<a href="../Arachnid/Cli/Sitemap/LastMod.html">LastMod</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/PageMap" data-name="arachnid::cli::sitemap::pagemap">
<a href="../Arachnid/Cli/Sitemap/PageMap.html">PageMap</a>
</li>
</ul>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/CookieJar" data-name="arachnid::cookiejar">
<a href="../Arachnid/CookieJar.html">CookieJar</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Document" data-name="arachnid::document">
<a href="../Arachnid/Document.html">Document</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML" data-name="arachnid::document::html">
<a href="../Arachnid/Document/HTML.html">HTML</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML/Tag" data-name="arachnid::document::html::tag">
<a href="../Arachnid/Document/HTML/Tag.html">Tag</a>
</li>
</ul>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Resource" data-name="arachnid::resource">
<a href="../Arachnid/Resource.html">Resource</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/ContentTypes" data-name="arachnid::resource::contenttypes">
<a href="../Arachnid/Resource/ContentTypes.html">ContentTypes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/Cookies" data-name="arachnid::resource::cookies">
<a href="../Arachnid/Resource/Cookies.html">Cookies</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/HTML" data-name="arachnid::resource::html">
<a href="../Arachnid/Resource/HTML.html">HTML</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/StatusCodes" data-name="arachnid::resource::statuscodes">
<a href="../Arachnid/Resource/StatusCodes.html">StatusCodes</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Rules" data-name="arachnid::rules(t)">
<a href="../Arachnid/Rules.html">Rules</a>
</li>
<li class=" current" data-id="github.com/watzon/arachnid/Arachnid/SessionCache" data-name="arachnid::sessioncache">
<a href="../Arachnid/SessionCache.html">SessionCache</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/URI" data-name="uri">
<a href="../URI.html">URI</a>
</li>
</ul>
</div>
</div>
<div class="main-content">
<h1 class="type-name">
<span class="kind">class</span> Arachnid::SessionCache
</h1>
<ul class="superclass-hierarchy"><li class="superclass"><a href="../Arachnid/SessionCache.html">Arachnid::SessionCache</a></li><li class="superclass">Reference</li><li class="superclass">Object</li></ul>
<h2>Overview</h2>
<p>Stores active HTTP Sessions organized by scheme, host-name and port.</p>
<h2>Defined in:</h2>
<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/session_cache.cr#L6" target="_blank">
arachnid/session_cache.cr
</a>
<br/>
<h2>Constructors</h2>
<ul class="list-summary">
<li class="entry-summary">
<a href="#new%28read_timeout%3AInt32%3F%3Dnil%2Cconnect_timeout%3AInt32%3F%3Dnil%2Cmax_redirects%3AInt32%3F%3Dnil%2Cdo_not_track%3ABool%3F%3Dnil%29-class-method" class="signature"><strong>.new</strong>(read_timeout : Int32? = <span class="n">nil</span>, connect_timeout : Int32? = <span class="n">nil</span>, max_redirects : Int32? = <span class="n">nil</span>, do_not_track : Bool? = <span class="n">nil</span>)</a>
<div class="summary"><p>Create a new session cache</p></div>
</li>
</ul>
<h2>Instance Method Summary</h2>
<ul class="list-summary">
<li class="entry-summary">
<a href="#%5B%5D%28url%29-instance-method" class="signature"><strong>#[]</strong>(url)</a>
<div class="summary"><p>Provides an active session for a given URL.</p></div>
</li>
<li class="entry-summary">
<a href="#active%3F%28url%29-instance-method" class="signature"><strong>#active?</strong>(url)</a>
<div class="summary"><p>Determines if there is an active session for the given URL</p></div>
</li>
<li class="entry-summary">
<a href="#clear-instance-method" class="signature"><strong>#clear</strong></a>
<div class="summary"><p>Clears the session cache</p></div>
</li>
<li class="entry-summary">
<a href="#connect_timeout%3AInt32-instance-method" class="signature"><strong>#connect_timeout</strong> : Int32</a>
<div class="summary"><p>Optional connect timeout.</p></div>
</li>
<li class="entry-summary">
<a href="#connect_timeout%3D%28connect_timeout%3AInt32%29-instance-method" class="signature"><strong>#connect_timeout=</strong>(connect_timeout : Int32)</a>
<div class="summary"><p>Optional connect timeout.</p></div>
</li>
<li class="entry-summary">
<a href="#do_not_track%3D%28do_not_track%3ABool%29-instance-method" class="signature"><strong>#do_not_track=</strong>(do_not_track : Bool)</a>
<div class="summary"><p>Should we set a DNT (Do Not Track) header?</p></div>
</li>
<li class="entry-summary">
<a href="#do_not_track%3F%3ABool-instance-method" class="signature"><strong>#do_not_track?</strong> : Bool</a>
<div class="summary"><p>Should we set a DNT (Do Not Track) header?</p></div>
</li>
<li class="entry-summary">
<a href="#kill%21%28url%29-instance-method" class="signature"><strong>#kill!</strong>(url)</a>
<div class="summary"><p>Destroys an HTTP session for the given scheme, host, and port.</p></div>
</li>
<li class="entry-summary">
<a href="#max_redirects%3AInt32%3F-instance-method" class="signature"><strong>#max_redirects</strong> : Int32?</a>
<div class="summary"><p>Max redirects to follow.</p></div>
</li>
<li class="entry-summary">
<a href="#max_redirects%3D%28max_redirects%3AInt32%3F%29-instance-method" class="signature"><strong>#max_redirects=</strong>(max_redirects : Int32?)</a>
<div class="summary"><p>Max redirects to follow.</p></div>
</li>
<li class="entry-summary">
<a href="#read_timeout%3AInt32-instance-method" class="signature"><strong>#read_timeout</strong> : Int32</a>
<div class="summary"><p>Optional read timeout.</p></div>
</li>
<li class="entry-summary">
<a href="#read_timeout%3D%28read_timeout%3AInt32%29-instance-method" class="signature"><strong>#read_timeout=</strong>(read_timeout : Int32)</a>
<div class="summary"><p>Optional read timeout.</p></div>
</li>
</ul>
<div class="methods-inherited">
</div>
<h2>Constructor Detail</h2>
<div class="entry-detail" id="new(read_timeout:Int32?=nil,connect_timeout:Int32?=nil,max_redirects:Int32?=nil,do_not_track:Bool?=nil)-class-method">
<div class="signature">
def self.<strong>new</strong>(read_timeout : Int32? = <span class="n">nil</span>, connect_timeout : Int32? = <span class="n">nil</span>, max_redirects : Int32? = <span class="n">nil</span>, do_not_track : Bool? = <span class="n">nil</span>)
<a class="method-permalink" href="#new%28read_timeout%3AInt32%3F%3Dnil%2Cconnect_timeout%3AInt32%3F%3Dnil%2Cmax_redirects%3AInt32%3F%3Dnil%2Cdo_not_track%3ABool%3F%3Dnil%29-class-method">#</a>
</div>
<div class="doc"><p>Create a new session cache</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/session_cache.cr#L23" target="_blank">View source</a>]
</div>
</div>
<h2>Instance Method Detail</h2>
<div class="entry-detail" id="[](url)-instance-method">
<div class="signature">
def <strong>[]</strong>(url)
<a class="method-permalink" href="#%5B%5D%28url%29-instance-method">#</a>
</div>
<div class="doc"><p>Provides an active session for a given URL.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/session_cache.cr#L47" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="active?(url)-instance-method">
<div class="signature">
def <strong>active?</strong>(url)
<a class="method-permalink" href="#active%3F%28url%29-instance-method">#</a>
</div>
<div class="doc"><p>Determines if there is an active session for the given URL</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/session_cache.cr#L36" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="clear-instance-method">
<div class="signature">
def <strong>clear</strong>
<a class="method-permalink" href="#clear-instance-method">#</a>
</div>
<div class="doc"><p>Clears the session cache</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/session_cache.cr#L102" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="connect_timeout:Int32-instance-method">
<div class="signature">
def <strong>connect_timeout</strong> : Int32
<a class="method-permalink" href="#connect_timeout%3AInt32-instance-method">#</a>
</div>
<div class="doc"><p>Optional connect timeout.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/session_cache.cr#L14" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="connect_timeout=(connect_timeout:Int32)-instance-method">
<div class="signature">
def <strong>connect_timeout=</strong>(connect_timeout : Int32)
<a class="method-permalink" href="#connect_timeout%3D%28connect_timeout%3AInt32%29-instance-method">#</a>
</div>
<div class="doc"><p>Optional connect timeout.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/session_cache.cr#L18" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="do_not_track=(do_not_track:Bool)-instance-method">
<div class="signature">
def <strong>do_not_track=</strong>(do_not_track : Bool)
<a class="method-permalink" href="#do_not_track%3D%28do_not_track%3ABool%29-instance-method">#</a>
</div>
<div class="doc"><p>Should we set a DNT (Do Not Track) header?</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/session_cache.cr#L24" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="do_not_track?:Bool-instance-method">
<div class="signature">
def <strong>do_not_track?</strong> : Bool
<a class="method-permalink" href="#do_not_track%3F%3ABool-instance-method">#</a>
</div>
<div class="doc"><p>Should we set a DNT (Do Not Track) header?</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/session_cache.cr#L20" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="kill!(url)-instance-method">
<div class="signature">
def <strong>kill!</strong>(url)
<a class="method-permalink" href="#kill%21%28url%29-instance-method">#</a>
</div>
<div class="doc"><p>Destroys an HTTP session for the given scheme, host, and port.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/session_cache.cr#L89" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="max_redirects:Int32?-instance-method">
<div class="signature">
def <strong>max_redirects</strong> : Int32?
<a class="method-permalink" href="#max_redirects%3AInt32%3F-instance-method">#</a>
</div>
<div class="doc"><p>Max redirects to follow.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/session_cache.cr#L17" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="max_redirects=(max_redirects:Int32?)-instance-method">
<div class="signature">
def <strong>max_redirects=</strong>(max_redirects : Int32?)
<a class="method-permalink" href="#max_redirects%3D%28max_redirects%3AInt32%3F%29-instance-method">#</a>
</div>
<div class="doc"><p>Max redirects to follow.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/session_cache.cr#L21" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="read_timeout:Int32-instance-method">
<div class="signature">
def <strong>read_timeout</strong> : Int32
<a class="method-permalink" href="#read_timeout%3AInt32-instance-method">#</a>
</div>
<div class="doc"><p>Optional read timeout.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/session_cache.cr#L11" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="read_timeout=(read_timeout:Int32)-instance-method">
<div class="signature">
def <strong>read_timeout=</strong>(read_timeout : Int32)
<a class="method-permalink" href="#read_timeout%3D%28read_timeout%3AInt32%29-instance-method">#</a>
</div>
<div class="doc"><p>Optional read timeout.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/session_cache.cr#L15" target="_blank">View source</a>]
</div>
</div>
</div>
</body>
</html>

680
docs/URI.html Normal file
View File

@ -0,0 +1,680 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 0.29.0">
<link href="css/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/doc.js"></script>
<script type="text/javascript">
CrystalDoc.base_path = "";
</script>
<meta id="repository-name" content="github.com/watzon/arachnid">
<title>URI - github.com/watzon/arachnid</title>
</head>
<body>
<div class="sidebar">
<div class="sidebar-header">
<div class="search-box">
<input type="search" class="search-input" placeholder="Search..." spellcheck="false" aria-label="Search">
</div>
<div class="repository-links">
<a href="index.html">README</a>
</div>
</div>
<div class="search-results" class="hidden">
<ul class="search-list"></ul>
</div>
<div class="types-list">
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid" data-name="arachnid">
<a href="Arachnid.html">Arachnid</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Agent" data-name="arachnid::agent">
<a href="Arachnid/Agent.html">Agent</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions" data-name="arachnid::agent::actions">
<a href="Arachnid/Agent/Actions.html">Actions</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Action" data-name="arachnid::agent::actions::action">
<a href="Arachnid/Agent/Actions/Action.html">Action</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/Paused" data-name="arachnid::agent::actions::paused">
<a href="Arachnid/Agent/Actions/Paused.html">Paused</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/RuntimeError" data-name="arachnid::agent::actions::runtimeerror">
<a href="Arachnid/Agent/Actions/RuntimeError.html">RuntimeError</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipLink" data-name="arachnid::agent::actions::skiplink">
<a href="Arachnid/Agent/Actions/SkipLink.html">SkipLink</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Actions/SkipResource" data-name="arachnid::agent::actions::skipresource">
<a href="Arachnid/Agent/Actions/SkipResource.html">SkipResource</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Agent/Queue" data-name="arachnid::agent::queue">
<a href="Arachnid/Agent/Queue.html">Queue</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthCredential" data-name="arachnid::authcredential">
<a href="Arachnid/AuthCredential.html">AuthCredential</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/AuthStore" data-name="arachnid::authstore">
<a href="Arachnid/AuthStore.html">AuthStore</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli" data-name="arachnid::cli">
<a href="Arachnid/Cli.html">Cli</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Action" data-name="arachnid::cli::action">
<a href="Arachnid/Cli/Action.html">Action</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library.html">Command_Main_command_of_clim_library</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap.html">Command_Sitemap</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap.html">Options_Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_help">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_json">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_json.html">Option_json</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_output">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_output.html">Option_output</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::options_sitemap::option_xml">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/Options_Sitemap/Option_xml.html">Option_xml</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_sitemap::runproc">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/Command_Sitemap/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize.html">Command_Summarize</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize.html">Options_Summarize</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_codes">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_codes.html">Option_codes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_elinks">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_elinks.html">Option_elinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_help">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_ilinks">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_ilinks.html">Option_ilinks</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_limit">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_limit.html">Option_limit</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::options_summarize::option_output">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/Options_Summarize/Option_output.html">Option_output</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::command_summarize::runproc">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/Command_Summarize/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library.html">Options_Main_command_of_clim_library</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_help">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_help.html">Option_help</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version" data-name="arachnid::cli::command_main_command_of_clim_library::options_main_command_of_clim_library::option_version">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/Options_Main_command_of_clim_library/Option_version.html">Option_version</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Command_Main_command_of_clim_library/RunProc" data-name="arachnid::cli::command_main_command_of_clim_library::runproc">
<a href="Arachnid/Cli/Command_Main_command_of_clim_library/RunProc.html">RunProc</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Count" data-name="arachnid::cli::count">
<a href="Arachnid/Cli/Count.html">Count</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap" data-name="arachnid::cli::sitemap">
<a href="Arachnid/Cli/Sitemap.html">Sitemap</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/LastMod" data-name="arachnid::cli::sitemap::lastmod">
<a href="Arachnid/Cli/Sitemap/LastMod.html">LastMod</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Cli/Sitemap/PageMap" data-name="arachnid::cli::sitemap::pagemap">
<a href="Arachnid/Cli/Sitemap/PageMap.html">PageMap</a>
</li>
</ul>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/CookieJar" data-name="arachnid::cookiejar">
<a href="Arachnid/CookieJar.html">CookieJar</a>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Document" data-name="arachnid::document">
<a href="Arachnid/Document.html">Document</a>
<ul>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML" data-name="arachnid::document::html">
<a href="Arachnid/Document/HTML.html">HTML</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Document/HTML/Tag" data-name="arachnid::document::html::tag">
<a href="Arachnid/Document/HTML/Tag.html">Tag</a>
</li>
</ul>
</li>
</ul>
</li>
<li class="parent " data-id="github.com/watzon/arachnid/Arachnid/Resource" data-name="arachnid::resource">
<a href="Arachnid/Resource.html">Resource</a>
<ul>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/ContentTypes" data-name="arachnid::resource::contenttypes">
<a href="Arachnid/Resource/ContentTypes.html">ContentTypes</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/Cookies" data-name="arachnid::resource::cookies">
<a href="Arachnid/Resource/Cookies.html">Cookies</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/HTML" data-name="arachnid::resource::html">
<a href="Arachnid/Resource/HTML.html">HTML</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Resource/StatusCodes" data-name="arachnid::resource::statuscodes">
<a href="Arachnid/Resource/StatusCodes.html">StatusCodes</a>
</li>
</ul>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/Rules" data-name="arachnid::rules(t)">
<a href="Arachnid/Rules.html">Rules</a>
</li>
<li class=" " data-id="github.com/watzon/arachnid/Arachnid/SessionCache" data-name="arachnid::sessioncache">
<a href="Arachnid/SessionCache.html">SessionCache</a>
</li>
</ul>
</li>
<li class=" current" data-id="github.com/watzon/arachnid/URI" data-name="uri">
<a href="URI.html">URI</a>
</li>
</ul>
</div>
</div>
<div class="main-content">
<h1 class="type-name">
<span class="kind">class</span> URI
</h1>
<ul class="superclass-hierarchy"><li class="superclass"><a href="URI.html">URI</a></li><li class="superclass">Reference</li><li class="superclass">Object</li></ul>
<h2>Overview</h2>
<p><code>Punycode</code> provides an interface for IDNA encoding (RFC 5980),
which is defined in RFC 3493</p>
<p>Implementation based on Mathias Bynens <code>punnycode.js</code> project
https://github.com/bestiejs/punycode.js/</p>
<p>RFC 3492:
Method to use non-ascii characters as host name of URI
https://www.ietf.org/rfc/rfc3492.txt</p>
<p>RFC 5980:
Internationalized Domain Names in Application
https://www.ietf.org/rfc/rfc5980.txt</p>
<h2>Defined in:</h2>
<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/extensions/uri.cr#L4" target="_blank">
arachnid/extensions/uri.cr
</a>
<br/>
<h2>Class Method Summary</h2>
<ul class="list-summary">
<li class="entry-summary">
<a href="#expand_path%28path%29-class-method" class="signature"><strong>.expand_path</strong>(path)</a>
<div class="summary"><p>Expands a URI decoded path, into a proper absolute path.</p></div>
</li>
</ul>
<h2>Instance Method Summary</h2>
<ul class="list-summary">
<li class="entry-summary">
<a href="#merge%28oth%29-instance-method" class="signature"><strong>#merge</strong>(oth)</a>
</li>
<li class="entry-summary">
<a href="#merge_path%28base%2Crel%29-instance-method" class="signature"><strong>#merge_path</strong>(base, rel)</a>
</li>
<li class="entry-summary">
<a href="#split_path%28path%29-instance-method" class="signature"><strong>#split_path</strong>(path)</a>
</li>
</ul>
<div class="methods-inherited">
</div>
<h2>Class Method Detail</h2>
<div class="entry-detail" id="expand_path(path)-class-method">
<div class="signature">
def self.<strong>expand_path</strong>(path)
<a class="method-permalink" href="#expand_path%28path%29-class-method">#</a>
</div>
<div class="doc"><p>Expands a URI decoded path, into a proper absolute path.</p>
<p>@param [String] path
The path from a URI.</p>
<p>@return [String]
The expanded path.</p>
<p>@example
URI.expand_path("./path")
# => "path"</p>
<p>@example
URI.expand_path("test/../path")
# => "path"</p>
<p>@example
URI.expand_path("/test/path/")
# => "/test/path/"</p>
<p>@example
URI.expand_path("/test/../path")
# => "/path"</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/extensions/uri.cr#L30" target="_blank">View source</a>]
</div>
</div>
<h2>Instance Method Detail</h2>
<div class="entry-detail" id="merge(oth)-instance-method">
<div class="signature">
def <strong>merge</strong>(oth)
<a class="method-permalink" href="#merge%28oth%29-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/extensions/uri.cr#L132" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="merge_path(base,rel)-instance-method">
<div class="signature">
def <strong>merge_path</strong>(base, rel)
<a class="method-permalink" href="#merge_path%28base%2Crel%29-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/extensions/uri.cr#L70" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="split_path(path)-instance-method">
<div class="signature">
def <strong>split_path</strong>(path)
<a class="method-permalink" href="#split_path%28path%29-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/watzon/arachnid/blob/611a0091cbdb82f0bb79a8c9208eab4465bf60b3/src/arachnid/extensions/uri.cr#L66" target="_blank">View source</a>]
</div>
</div>
</div>
</body>
</html>

629
docs/css/style.css Normal file
View File

@ -0,0 +1,629 @@
html, body {
background: #FFFFFF;
position: relative;
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
}
body {
font-family: "Avenir", "Tahoma", "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
color: #333;
line-height: 1.5;
}
a {
color: #263F6C;
}
a:visited {
color: #112750;
}
h1, h2, h3, h4, h5, h6 {
margin: 35px 0 25px;
color: #444444;
}
h1.type-name {
color: #47266E;
margin: 20px 0 30px;
background-color: #F8F8F8;
padding: 10px 12px;
border: 1px solid #EBEBEB;
border-radius: 2px;
}
h2 {
border-bottom: 1px solid #E6E6E6;
padding-bottom: 5px;
}
body {
display: flex;
}
.sidebar, .main-content {
overflow: auto;
}
.sidebar {
width: 30em;
color: #F8F4FD;
background-color: #2E1052;
padding: 0 0 30px;
box-shadow: inset -3px 0 4px rgba(0,0,0,.35);
line-height: 1.2;
}
.sidebar .search-box {
padding: 8px 9px;
}
.sidebar input {
display: block;
box-sizing: border-box;
margin: 0;
padding: 5px;
font: inherit;
font-family: inherit;
line-height: 1.2;
width: 100%;
border: 0;
outline: 0;
border-radius: 2px;
box-shadow: 0px 3px 5px rgba(0,0,0,.25);
transition: box-shadow .12s;
}
.sidebar input:focus {
box-shadow: 0px 5px 6px rgba(0,0,0,.5);
}
.sidebar input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
color: #C8C8C8;
font-size: 14px;
text-indent: 2px;
}
.sidebar input::-moz-placeholder { /* Firefox 19+ */
color: #C8C8C8;
font-size: 14px;
text-indent: 2px;
}
.sidebar input:-ms-input-placeholder { /* IE 10+ */
color: #C8C8C8;
font-size: 14px;
text-indent: 2px;
}
.sidebar input:-moz-placeholder { /* Firefox 18- */
color: #C8C8C8;
font-size: 14px;
text-indent: 2px;
}
.sidebar ul {
margin: 0;
padding: 0;
list-style: none outside;
}
.sidebar li {
display: block;
position: relative;
}
.types-list li.hide {
display: none;
}
.sidebar a {
text-decoration: none;
color: inherit;
transition: color .14s;
}
.types-list a {
display: block;
padding: 5px 15px 5px 30px;
}
.types-list {
display: block;
}
.sidebar a:focus {
outline: 1px solid #D1B7F1;
}
.types-list a {
padding: 5px 15px 5px 30px;
}
.sidebar .current > a,
.sidebar a:hover {
color: #866BA6;
}
.repository-links {
padding: 5px 15px 5px 30px;
}
.types-list li ul {
overflow: hidden;
height: 0;
max-height: 0;
transition: 1s ease-in-out;
}
.types-list li.parent {
padding-left: 30px;
}
.types-list li.parent::before {
box-sizing: border-box;
content: "▼";
display: block;
width: 30px;
height: 30px;
position: absolute;
top: 0;
left: 0;
text-align: center;
color: white;
font-size: 8px;
line-height: 30px;
transform: rotateZ(-90deg);
cursor: pointer;
transition: .2s linear;
}
.types-list li.parent > a {
padding-left: 0;
}
.types-list li.parent.open::before {
transform: rotateZ(0);
}
.types-list li.open > ul {
height: auto;
max-height: 1000em;
}
.main-content {
padding: 0 30px 30px 30px;
width: 100%;
}
.kind {
font-size: 60%;
color: #866BA6;
}
.superclass-hierarchy {
margin: -15px 0 30px 0;
padding: 0;
list-style: none outside;
font-size: 80%;
}
.superclass-hierarchy .superclass {
display: inline-block;
margin: 0 7px 0 0;
padding: 0;
}
.superclass-hierarchy .superclass + .superclass::before {
content: "<";
margin-right: 7px;
}
.other-types-list li {
display: inline-block;
}
.other-types-list,
.list-summary {
margin: 0 0 30px 0;
padding: 0;
list-style: none outside;
}
.entry-const {
font-family: Menlo, Monaco, Consolas, 'Courier New', Courier, monospace;
}
.entry-const code {
white-space: pre-wrap;
}
.entry-summary {
padding-bottom: 4px;
}
.superclass-hierarchy .superclass a,
.other-type a,
.entry-summary .signature {
padding: 4px 8px;
margin-bottom: 4px;
display: inline-block;
background-color: #f8f8f8;
color: #47266E;
border: 1px solid #f0f0f0;
text-decoration: none;
border-radius: 3px;
font-family: Menlo, Monaco, Consolas, 'Courier New', Courier, monospace;
transition: background .15s, border-color .15s;
}
.superclass-hierarchy .superclass a:hover,
.other-type a:hover,
.entry-summary .signature:hover {
background: #D5CAE3;
border-color: #624288;
}
.entry-summary .summary {
padding-left: 32px;
}
.entry-summary .summary p {
margin: 12px 0 16px;
}
.entry-summary a {
text-decoration: none;
}
.entry-detail {
padding: 30px 0;
}
.entry-detail .signature {
position: relative;
padding: 5px 15px;
margin-bottom: 10px;
display: block;
border-radius: 5px;
background-color: #f8f8f8;
color: #47266E;
border: 1px solid #f0f0f0;
font-family: Menlo, Monaco, Consolas, 'Courier New', Courier, monospace;
transition: .2s ease-in-out;
}
.entry-detail:target .signature {
background-color: #D5CAE3;
border: 1px solid #624288;
}
.entry-detail .signature .method-permalink {
position: absolute;
top: 0;
left: -35px;
padding: 5px 15px;
text-decoration: none;
font-weight: bold;
color: #624288;
opacity: .4;
transition: opacity .2s;
}
.entry-detail .signature .method-permalink:hover {
opacity: 1;
}
.entry-detail:target .signature .method-permalink {
opacity: 1;
}
.methods-inherited {
padding-right: 10%;
line-height: 1.5em;
}
.methods-inherited h3 {
margin-bottom: 4px;
}
.methods-inherited a {
display: inline-block;
text-decoration: none;
color: #47266E;
}
.methods-inherited a:hover {
text-decoration: underline;
color: #6C518B;
}
.methods-inherited .tooltip>span {
background: #D5CAE3;
padding: 4px 8px;
border-radius: 3px;
margin: -4px -8px;
}
.methods-inherited .tooltip * {
color: #47266E;
}
pre {
padding: 10px 20px;
margin-top: 4px;
border-radius: 3px;
line-height: 1.45;
overflow: auto;
color: #333;
background: #fdfdfd;
font-size: 14px;
border: 1px solid #eee;
}
code {
font-family: Menlo, Monaco, Consolas, 'Courier New', Courier, monospace;
}
:not(pre) > code {
background-color: rgba(40,35,30,0.05);
padding: 0.2em 0.4em;
font-size: 85%;
border-radius: 3px;
}
span.flag {
padding: 2px 4px 1px;
border-radius: 3px;
margin-right: 3px;
font-size: 11px;
border: 1px solid transparent;
}
span.flag.orange {
background-color: #EE8737;
color: #FCEBDD;
border-color: #EB7317;
}
span.flag.yellow {
background-color: #E4B91C;
color: #FCF8E8;
border-color: #B69115;
}
span.flag.green {
background-color: #469C14;
color: #E2F9D3;
border-color: #34700E;
}
span.flag.red {
background-color: #BF1919;
color: #F9ECEC;
border-color: #822C2C;
}
span.flag.purple {
background-color: #2E1052;
color: #ECE1F9;
border-color: #1F0B37;
}
.tooltip>span {
position: absolute;
opacity: 0;
display: none;
pointer-events: none;
}
.tooltip:hover>span {
display: inline-block;
opacity: 1;
}
.c {
color: #969896;
}
.n {
color: #0086b3;
}
.t {
color: #0086b3;
}
.s {
color: #183691;
}
.i {
color: #7f5030;
}
.k {
color: #a71d5d;
}
.o {
color: #a71d5d;
}
.m {
color: #795da3;
}
.hidden {
display: none;
}
.search-results {
font-size: 90%;
line-height: 1.3;
}
.search-results mark {
color: inherit;
background: transparent;
font-weight: bold;
}
.search-result {
padding: 5px 8px 5px 5px;
cursor: pointer;
border-left: 5px solid transparent;
transform: translateX(-3px);
transition: all .2s, background-color 0s, border .02s;
min-height: 3.2em;
}
.search-result.current {
border-left-color: #ddd;
background-color: rgba(200,200,200,0.4);
transform: translateX(0);
transition: all .2s, background-color .5s, border 0s;
}
.search-result.current:hover,
.search-result.current:focus {
border-left-color: #866BA6;
}
.search-result:not(.current):nth-child(2n) {
background-color: rgba(255,255,255,.06);
}
.search-result__title {
font-size: 105%;
word-break: break-all;
line-height: 1.1;
padding: 3px 0;
}
.search-result__title strong {
font-weight: normal;
}
.search-results .search-result__title > a {
padding: 0;
display: block;
}
.search-result__title > a > .args {
color: #dddddd;
font-weight: 300;
transition: inherit;
font-size: 88%;
line-height: 1.2;
letter-spacing: -.02em;
}
.search-result__title > a > .args * {
color: inherit;
}
.search-result a,
.search-result a:hover {
color: inherit;
}
.search-result:not(.current):hover .search-result__title > a,
.search-result:not(.current):focus .search-result__title > a,
.search-result__title > a:focus {
color: #866BA6;
}
.search-result:not(.current):hover .args,
.search-result:not(.current):focus .args {
color: #6a5a7d;
}
.search-result__type {
color: #e8e8e8;
font-weight: 300;
}
.search-result__doc {
color: #bbbbbb;
font-size: 90%;
}
.search-result__doc p {
margin: 0;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
line-height: 1.2em;
max-height: 2.4em;
}
.js-modal-visible .modal-background {
display: flex;
}
.main-content {
position: relative;
}
.modal-background {
position: absolute;
display: none;
height: 100%;
width: 100%;
background: rgba(120,120,120,.4);
z-index: 100;
align-items: center;
justify-content: center;
}
.usage-modal {
max-width: 90%;
background: #fff;
border: 2px solid #ccc;
border-radius: 9px;
padding: 5px 15px 20px;
min-width: 50%;
color: #555;
position: relative;
transform: scale(.5);
transition: transform 200ms;
}
.js-modal-visible .usage-modal {
transform: scale(1);
}
.usage-modal > .close-button {
position: absolute;
right: 15px;
top: 8px;
color: #aaa;
font-size: 27px;
cursor: pointer;
}
.usage-modal > .close-button:hover {
text-shadow: 2px 2px 2px #ccc;
color: #999;
}
.modal-title {
margin: 0;
text-align: center;
font-weight: normal;
color: #666;
border-bottom: 2px solid #ddd;
padding: 10px;
}
.usage-list {
padding: 0;
margin: 13px;
}
.usage-list > li {
padding: 5px 2px;
overflow: auto;
padding-left: 100px;
min-width: 12em;
}
.usage-modal kbd {
background: #eee;
border: 1px solid #ccc;
border-bottom-width: 2px;
border-radius: 3px;
padding: 3px 8px;
font-family: monospace;
margin-right: 2px;
display: inline-block;
}
.usage-key {
float: left;
clear: left;
margin-left: -100px;
margin-right: 12px;
}

738
docs/index.html Normal file

File diff suppressed because one or more lines are too long

1
docs/index.json Normal file

File diff suppressed because one or more lines are too long

1019
docs/js/doc.js Normal file

File diff suppressed because it is too large Load Diff

1
docs/search-index.js Normal file

File diff suppressed because one or more lines are too long

View File

@ -1,17 +1,23 @@
name: arachnid name: arachnid
version: 0.3.0 version: 0.1.0
authors: authors:
- Chris Watson <cawatson1993@gmail.com> - Chris Watson <chris@watzon.me>
dependencies: dependencies:
pool: halite:
github: watzon/pool github: icyleaf/halite
branch: master version: ~> 0.10.2
myhtml: termspinner:
github: kostya/myhtml github: eliobr/termspinner
branch: master clim:
github: at-grandpa/clim
version: 0.7.0
crystal: 0.35.0 targets:
arachnid:
main: src/arachnid/cli.cr
crystal: 0.29.0
license: MIT license: MIT

View File

View File

View File

View File

View File

View File

@ -0,0 +1,29 @@
require "../spec_helper"
describe Arachnid::Rules do
it "should create a new Rules object" do
rules = Arachnid::Rules(String).new
rules.should_not be_nil
rules.accept.should be_empty
rules.reject.should be_empty
end
it "should allow values for 'accept' and 'reject' in initializer" do
accept_proc = ->(string : String) { true }
reject_proc = ->(string : String) { false }
rules = Arachnid::Rules(String).new(accept: [accept_proc], reject: [reject_proc])
rules.accept.should contain accept_proc
rules.reject.should contain reject_proc
end
describe "#accept?" do
end
describe "#reject?" do
end
end

View File

View File

@ -1,9 +1,5 @@
require "./spec_helper" require "./spec_helper"
describe Arachnid do describe Arachnid do
# TODO: Write tests
it "works" do
false.should eq(true)
end
end end

View File

@ -1,11 +1 @@
require "http/client" require "./arachnid/arachnid"
require "myhtml"
require "pool/connection"
require "./ext/*"
require "./arachnid/*"
module Arachnid
include Logger
end

View File

@ -1,193 +1,543 @@
require "./agent/sanitizers"
require "./agent/filters"
require "./agent/events"
require "./agent/actions"
require "./agent/robots"
require "./resource" require "./resource"
require "./session_cache"
require "./cookie_jar"
require "./auth_store"
module Arachnid module Arachnid
class Agent class Agent
DEFAULT_USER_AGENT = "Arachnid #{Arachnid::VERSION} for Crystal #{Crystal::VERSION}"
getter request_handler : RequestHandler
getter accept_filters : Array(Proc(URI, Bool))
getter reject_filters : Array(Proc(URI, Bool))
getter? running : Bool getter? running : Bool
property queue : Queue # Set to limit to a single host.
property host : String?
property default_headers : HTTP::Headers # User agent to use.
property user_agent : String
property host_headers : Hash(String, HTTP::Headers) # HTTP Host Header to use.
property host_header : String?
property? stop_on_empty : Bool # HTTP Host Headers to use for specific hosts.
property host_headers : Hash(String | Regex, String)
property? follow_redirects : Bool # HTTP Headers to use for every request.
property default_headers : Hash(String, String)
def initialize(client : (HTTP::Client.class)? = nil, # HTTP Authentication credentials.
user_agent = DEFAULT_USER_AGENT, property authorized : AuthStore
default_headers = HTTP::Headers.new,
host_headers = {} of String => HTTP::Headers,
queue = Queue::Memory.new,
stop_on_empty = true,
follow_redirects = true)
client ||= HTTP::Client
@request_handler = RequestHandler.new(client)
@queue = queue.is_a?(Array) ? Queue::Memory.new : queue
@user_agent = user_agent # Referer to use.
@default_headers = default_headers property referer : String?
@host_headers = host_headers
@stop_on_empty = stop_on_empty
@follow_redirects = follow_redirects
@accept_filters = [] of Proc(URI, Bool) # Delay in between fetching resources.
@reject_filters = [] of Proc(URI, Bool) property fetch_delay : Time::Span | Int32
# History containing visited URLs.
getter history : Set(URI)
# List of unreachable URIs.
getter failures : Set(URI)
# Queue of URLs to visit.
getter queue : Hash(String, URI)
# The session cache.
property sessions : SessionCache
# Cached cookies.
property cookies : CookieJar
# Maximum number of resources to visit.
property limit : Int32?
# Maximum depth.
property max_depth : Int32?
# The visited URLs and their depth within a site.
property levels : Hash(URI, Int32)
# Creates a new `Agent` object.
def initialize(
host : String? = nil,
read_timeout : Int32? = nil,
connect_timeout : Int32? = nil,
max_redirects : Int32? = nil,
do_not_track : Bool? = nil,
default_headers : Hash(String, String)? = nil,
host_header : String? = nil,
host_headers : Hash(String | Regex, String)? = nil,
user_agent : String? = nil,
referer : String? = nil,
fetch_delay : (Int32 | Time::Span)? = nil,
queue : Hash(String, URI)? = nil,
history : Set(URI)? = nil,
limit : Int32? = nil,
max_depth : Int32? = nil,
robots : Bool? = nil,
filter_options = nil
)
@host = host
@host_header = host_header
@host_headers = host_headers || {} of (Regex | String) => String
@default_headers = default_headers || {} of String => String
@user_agent = user_agent || Arachnid.user_agent
@referer = referer
@running = false @running = false
@fetch_delay = fetch_delay || 0
@history = history || Set(URI).new
@failures = Set(URI).new
@queue = queue || {} of String => URI
@limit = limit
@levels = {} of URI => Int32
@max_depth = max_depth
@sessions = SessionCache.new(
read_timeout,
connect_timeout,
max_redirects,
do_not_track
)
@cookies = CookieJar.new
@authorized = AuthStore.new
if filter_options
initialize_filters(**filter_options)
else
initialize_filters
end
initialize_robots if robots || Arachnid.robots?
end end
def start_at(uri, &block) # Create a new scoped `Agent` in a block.
uri = ensure_scheme(uri) def self.new(**options, &block : Agent ->)
enqueue(uri, force: true) _new = new(**options)
with self yield self with _new yield _new
start _new
end end
def site(site, &block) # Creates a new `Agent` and begins spidering at the given URL.
uri = ensure_scheme(site) def self.start_at(url, **options, &block : Agent ->)
enqueue(uri, force: true) agent = new(**options, &block)
accept_filter { |u| u.host.to_s.ends_with?(uri.host.to_s) } agent.start_at(url, force: true)
with self yield self
start
end end
def host(host, &block) # Creates a new `Agent` and spiders the web site located
uri = ensure_scheme(host) # at the given URL.
enqueue(uri, force: true) def self.site(url, **options, &block : Agent ->)
accept_filter { |u| u.host == uri.host } url = url.is_a?(URI) ? url : URI.parse(url)
with self yield self url_regex = Regex.new(url.host.to_s)
start
agent = new(**options, &block)
agent.visit_hosts_like(url_regex)
agent.start_at(url, force: true)
end end
def stop # Creates a new `Agent` and spiders the given host.
@running = false def self.host(url, **options, &block : Agent ->)
url = url.is_a?(URI) ? url : URI.parse(url)
options = options.merge(host: url.host)
agent = new(**options, &block)
agent.start_at(url, force: true)
end end
def start # Clears the history of the `Agent`.
def clear
@queue.clear
@history.clear
@failures.clear
self
end
# Start spidering at a given URL.
# def start_at(url, &block : Resource ->)
# enqueue(url)
# run(&block)
# end
# Start spidering at a given URL.
def start_at(url, force = false)
enqueue(url, force: force)
return run
end
# Start spidering until the queue becomes empty or the
# agent is paused.
# def run(&block : Resource ->)
# @running = true
# until @queue.empty? || paused? || limit_reached?
# begin
# visit_resource(dequeue, &block)
# rescue Actions::Paused
# return self
# rescue Actions::Action
# end
# end
# @running = false
# @sessions.clear
# self
# end
# Start spidering until the queue becomes empty or the
# agent is paused.
def run
@running = true @running = true
while @running until @queue.empty? || paused? || limit_reached? || !running?
break if stop_on_empty? && @queue.empty? begin
unless @queue.empty? visit_resource(dequeue)
next_uri = @queue.dequeue rescue Actions::Paused
return self
rescue Actions::Action
end
end
Log.debug { "Scanning #{next_uri.to_s}" } @running = false
@sessions.clear
self
end
headers = build_headers_for(next_uri) # Sets the history of URLs that were previously visited.
response = @request_handler.request(:get, next_uri, headers: headers) def history=(new_history)
resource = Resource.from_content_type(next_uri, response) @history.clear
@resource_handlers.each do |handler| new_history.each do |url|
handler.call(resource) @history << url.is_a?(URI) ? url : URI.parse(url)
end end
# Call the registered handlers for this resource @history
{% begin %} end
case resource
{% for subclass in Arachnid::Resource.subclasses %}
{% resname = subclass.name.split("::").last.downcase.underscore.id %}
when {{ subclass.id }}
@{{ resname }}_handlers.each do |handler|
handler.call(resource)
end
{% end %}
end
{% end %}
# If the resource has an each_uel method let's pull out # Specifies the links which have been visited.
# it's urls and enqueue all of them. def visited_links
if resource.responds_to?(:each_url) @history.map(&.to_s)
resource.each_url do |uri| end
enqueue(uri)
# Specifies the hosts which have been visited.
def visited_hosts
history.map(&.host)
end
# Determines whether a URL was visited or not.
def visited?(url)
url = url.is_a?(URI) ? url : URI.parse(url)
@history.includes?(url)
end
# Sets the list of failed URLs.
def failures=(new_failures)
@failures.clear
new_failures.each do |url|
@failures << url.is_a?(URI) ? url : URI.parse(url)
end
@failures
end
# Determines whether a given URL could not be visited.
def failed?(url)
url = url.is_a?(URI) ? url : URI.parse(url)
@failures.includes?(url)
end
# Sets the queue of URLs to visit.
# Sets the list of failed URLs.
def queue=(new_queue)
@queue.clear
new_queue.each do |url|
@queue[queue_key(url)] = url
end
@queue
end
# Determines whether the given URL has been queued for visiting.
def queued?(key)
@queue.has_key?(key)
end
# Enqueues a given URL for visiting, only if it passes all
# of the agent's rules for visiting a given URL.
def enqueue(url, level = 0, force = false)
url = sanitize_url(url)
if (!queued?(url) && visit?(url)) || force
link = url.to_s
return if url.host.to_s.empty?
begin
@every_url_blocks.each { |url_block| url_block.call(url) }
@every_url_like_blocks.each do |pattern, url_blocks|
match = case pattern
when Regex
link =~ pattern
else
(pattern == link) || (pattern == url)
end
if match
url_blocks.each { |url_block| url_block.call(url) }
end end
end end
rescue action : Actions::Paused
raise(action)
rescue Actions::SkipLink
return false
rescue Actions::Action
end
# Check for redirects @queue[queue_key(url)] = url
if (300..399).includes?(response.status_code) @levels[url] = level
if location = response.headers["Location"]? true
uri = URI.parse(location) end
@queue.enqueue(uri) end
# Gets and creates a new `Resource` object from a given URL,
# yielding the newly created resource.
def get_resource(url, &block)
url = url.is_a?(URI) ? url : URI.parse(url)
prepare_request(url) do |session, path, handlers|
new_resource = Resource.new(url, session.get(path, headers: handlers))
# save any new cookies
@cookies.from_resource(new_resource)
yield new_resource
return new_resource
end
end
# Gets and creates a new `Resource` object from a given URL.
def get_resource(url)
url = url.is_a?(URI) ? url : URI.parse(url)
prepare_request(url) do |session, path, handlers|
new_resource = Resource.new(url, session.get(path, handlers))
# save any new cookies
@cookies.from_resource(new_resource)
return new_resource
end
end
# Posts supplied form data and creates a new Resource from a given URL,
# yielding the newly created resource.
def post_resource(url, post_data = "", &block)
url = url.is_a?(URI) ? url : URI.parse(url)
prepare_request(url) do |session, path, handlers|
new_resource = Resource.new(url, session.post(path, post_data, handlers))
# save any new cookies
@cookies.from_resource(new_resource)
yield new_resource
return new_resource
end
end
# Posts supplied form data and creates a new Resource from a given URL.
def post_resource(url, post_data = "")
url = url.is_a?(URI) ? url : URI.parse(url)
prepare_request(url) do |session, path, handlers|
new_resource = Resource.new(url, session.post(path, post_data, handlers))
# save any new cookies
@cookies.from_resource(new_resource)
return new_resource
end
end
# Visits a given URL and enqueues the links recovered
# from the resource to be visited later.
# def visit_resource(url, &block : Resource ->)
# url = sanitize_url(url)
# get_resource(url) do |resource|
# @history << resource.url
# begin
# @every_resource_blocks.each { |resource_block| resource_block.call(resource) }
# yield resource
# rescue action : Actions::Paused
# raise(action)
# rescue Actions::SkipResource
# return Nil
# rescue Actions::Action
# end
# resource.each_url do |next_url|
# begin
# @every_link_blocks.each do |link_block|
# link_block.call(resource.url, next_url)
# end
# rescue action : Actions::Paused
# raise(action)
# rescue Actions::SkipLink
# next
# rescue Actions::Action
# end
# if @max_depth.nil? || @max_depth.not_nil! > (@levels[url]? || 0)
# @levels[url] ||= 0
# enqueue(next_url, @levels[url] + 1)
# end
# end
# end
# end
# Visits a given URL and enqueues the links recovered
# from the resource to be visited later.
def visit_resource(url)
url = sanitize_url(url)
get_resource(url) do |resource|
@history << resource.url
begin
@every_resource_blocks.each { |resource_block| resource_block.call(resource) }
rescue action : Actions::Paused
raise(action)
rescue Actions::SkipResource
return nil
rescue Actions::Action
end
resource.each_url do |next_url|
begin
@every_link_blocks.each do |link_block|
link_block.call(resource.url, next_url)
end end
rescue action : Actions::Paused
raise(action)
rescue Actions::SkipLink
next
rescue Actions::Action
end
if @max_depth.nil? || @max_depth.not_nil! > (@levels[url]? || 0)
@levels[url] ||= 0
enqueue(next_url, @levels[url] + 1)
end end
end end
end end
end end
def enqueue(uri, force = false) # Converts the agent into a hash.
uri = ensure_scheme(uri) def to_h
if force {"history" => @history, "queue" => @queue}
@queue.enqueue(uri)
elsif !@queue.includes?(uri) && filter(uri)
@queue.enqueue(uri)
end
end end
def accept_filter(&block : URI -> Bool) # Prepares request headers for a given URL.
@accept_filters << block protected def prepare_request_headers(url)
end # set any additional HTTP headers
def reject_filter(&block : URI -> Bool)
@reject_filters << block
end
@resource_handlers = [] of Proc(Resource, Nil)
def on_resource(&block : Resource ->)
@resource_handlers << block
end
{% for subclass in Arachnid::Resource.subclasses %}
{% resname = subclass.name.split("::").last.downcase.underscore.id %}
@{{ resname }}_handlers = [] of Proc({{ subclass.id }}, Nil)
# Create a handler for when a {{ subclass.id }} resource is found. The
# resource will be passed to the block.
def on_{{ resname }}(&block : {{ subclass.id }} ->)
@{{ resname }}_handlers << block
end
{% end %}
private def build_headers_for(uri)
headers = @default_headers.dup headers = @default_headers.dup
headers["User-Agent"] ||= @user_agent
if host_headers = @host_headers[uri.host.to_s]? unless @host_headers.empty?
headers.merge!(host_headers) @host_headers.each do |name, header|
if url.host =~ name
headers["Host"] = header
break
end
end
end end
# TODO: Authorization and Cookies headers["Host"] ||= @host_header.to_s if @host_header
headers["User-Agent"] ||= @user_agent.to_s
headers["Referer"] ||= @referer.to_s if @referer
if authorization = @authorized.for_url(url.host.to_s)
headers["Authorization"] = "Basic #{authorization}"
end
if header_cookies = @cookies.for_host(url.host.to_s)
headers["Cookie"] = header_cookies.to_cookie_header
end
headers headers
end end
private def filter(uri) # Normalizes the request path and grabs a session to handle
return true if @accept_filters.empty? && @reject_filters.empty? # resource get and post requests.
return false unless !@reject_filters.empty? && !@reject_filters.any?(&.call(uri)) def prepare_request(url, &block)
return false unless @accept_filters.empty? || @accept_filters.any?(&.call(uri)) path = if url.path.empty?
"/"
else
url.path
end
# append the URL query to the path
path += "?#{url.query}" if url.query
headers = prepare_request_headers(url)
begin
sleep(@fetch_delay) if @fetch_delay.to_i > 0
yield @sessions[url], path, headers
rescue Halite::Exception::Error | IO::Error | Socket::Error | OpenSSL::SSL::Error
@sessions.kill!(url)
return nil
end
end
# Dequeues a URL that will later be visited.
def dequeue
@queue.shift[1]
end
# Determines if the maximum limit has been reached.
def limit_reached?
if limit = @limit
return @history.size >= limit
end
false
end
# Determines if a given URL should be visited.
def visit?(url)
!visited?(url) &&
visit_scheme?(url.scheme.to_s) &&
visit_host?(url.host.to_s) &&
visit_port?(url.port || -1) &&
visit_link?(url.to_s) &&
visit_url?(url) &&
visit_ext?(url.path)
# robot_allowed?(url.to_s)
end
# Adds a given URL to the failures list.
def failed(url)
@failures << url
@every_failed_url_blocks.each { |fail_block| fail_block.call(url) }
true true
end end
private def ensure_scheme(uri : URI | String) private def queue_key(url)
if uri.is_a?(URI) "#{url.host}:#{url.port}"
if uri.scheme.nil? || uri.scheme.to_s.empty?
uri.scheme = "http"
end
else
if !uri.starts_with?("http")
uri = "http://#{uri}"
end
uri = URI.parse(uri)
end
uri.as(URI)
end end
end end
end end

View File

@ -0,0 +1,53 @@
module Arachnid
class Agent
module Actions
# A Runtime Error
class RuntimeError < Exception; end
# The base `Actions` exceptions class
class Action < RuntimeError; end
# Exception used to pause a running `Agent`
class Paused < Action; end
# Exception which causes a running `Agent` to skip a link.
class SkipLink < Action; end
# Exception which caises a running `Agent` to skip a resource.
class SkipResource < Action; end
end
# Continue spidering
def continue!(&block)
@paused = false
run(&block)
end
# Sets the pause state of the agent.
def pause=(state)
@paused = state
end
# Pauses the agent, causing spidering to temporarily stop.
def pause!
@paused = true
raise Actions::Paused.new
end
# Determines whether the agent is paused.
def paused?
@paused == true
end
# Causes the agent to skip the link being enqueued.
def skip_link!
raise Actions::SkipLink.new
end
# Causes the agent to skip the resource being visited.
def skip_resource!
raise Actions::SkipResource
end
end
end

View File

@ -0,0 +1,255 @@
require "../resource"
module Arachnid
class Agent
@every_url_blocks = [] of Proc(URI, Nil)
@every_failed_url_blocks = [] of Proc(URI, Nil)
@every_url_like_blocks = Hash(String | Regex, Array(Proc(URI, Nil))).new do |hash, key|
hash[key] = [] of Proc(URI, Nil)
end
@every_resource_blocks = [] of Proc(Resource, Nil)
@every_link_blocks = [] of Proc(URI, URI, Nil)
# Pass each URL from each resource visited to the given block.
def every_url(&block : URI ->)
@every_url_blocks << block
self
end
# Pass each URL that could not be requested to the given block.
def every_failed_url(&block : URI ->)
@every_failed_url_blocks << block
self
end
# Pass every URL that the agent visits, and matches a given pattern,
# to a given block.
def every_url_like(pattern, &block : URI ->)
@every_url_like_blocks[pattern] << block
self
end
# Ssee `#every_url_like`
def urls_like(pattern, &block : URI ->)
every_url_like(pattern, &block)
end
# Pass the headers from every response the agent receives to a given
# block.
def all_headers(&block : HTTP::Headers)
@every_resource_blocks << ->(resource : Resource) {
block.call(resource.headers)
}
end
# Pass every resource that the agent visits to a given block.
def every_resource(&block : Resource ->)
@every_resource_blocks << block
self
end
# Pass every OK resource that the agent visits to a given block.
def every_ok_page(&block : Resource ->)
@every_resource_blocks << ->(resource : Resource) {
block.call(resource) if resource.ok?
}
end
# Pass every Redirect resource that the agent visits to a given block.
def every_redirect_page(&block : Resource ->)
@every_resource_blocks << ->(resource : Resource) {
block.call(resource) if resource.redirect?
}
end
# Pass every Timeout resource that the agent visits to a given block.
def every_timedout_page(&block : Resource ->)
@every_resource_blocks << ->(resource : Resource) {
block.call(resource) if resource.timeout?
}
end
# Pass every Bad Request resource that the agent visits to a given block.
def every_bad_request_page(&block : Resource ->)
@every_resource_blocks << ->(resource : Resource) {
block.call(resource) if resource.bad_request?
}
end
# Pass every Unauthorized resource that the agent visits to a given block.
def every_unauthorized_page(&block : Resource ->)
@every_resource_blocks << ->(resource : Resource) {
block.call(resource) if resource.unauthorized?
}
end
# Pass every Forbidden resource that the agent visits to a given block.
def every_forbidden_page(&block : Resource ->)
@every_resource_blocks << ->(resource : Resource) {
block.call(resource) if resource.forbidden?
}
end
# Pass every Missing resource that the agent visits to a given block.
def every_missing_page(&block : Resource ->)
@every_resource_blocks << ->(resource : Resource) {
block.call(resource) if resource.missing?
}
end
# Pass every Internal Server Error resource that the agent visits to a
# given block.
def every_internal_server_error_page(&block : Resource ->)
@every_resource_blocks << ->(resource : Resource) {
block.call(resource) if resource.had_internal_server_error?
}
end
# Pass every Plain Text resource that the agent visits to a given block.
def every_txt_page(&block : Resource ->)
@every_resource_blocks << ->(resource : Resource) {
block.call(resource) if resource.txt?
}
end
# Pass every HTML resource that the agent visits to a given block.
def every_html_page(&block : Resource ->)
@every_resource_blocks << ->(resource : Resource) {
block.call(resource) if resource.html?
}
end
# Pass every XML resource that the agent visits to a given block.
def every_xml_page(&block : Resource ->)
@every_resource_blocks << ->(resource : Resource) {
block.call(resource) if resource.xml?
}
end
# Pass every XML Stylesheet (XSL) resource that the agent visits to a
# given block.
def every_xsl_page(&block : Resource ->)
@every_resource_blocks << ->(resource : Resource) {
block.call(resource) if resource.xsl?
}
end
# Pass every HTML or XML document that the agent parses to a given
# block.
def every_doc(&block : Document::HTML | XML::Node ->)
@every_resource_blocks << ->(doc : Resource) {
block.call(resource.doc.not_nil!) if resource.doc
}
end
# Pass every HTML document that the agent parses to a given block.
def every_html_doc(&block : Document::HTML | XML::Node ->)
@every_resource_blocks << ->(doc : Resource) {
block.call(resource.doc.not_nil!) if resource.html?
}
end
# Pass every XML document that the agent parses to a given block.
def every_xml_doc(&block : XML::Node ->)
@every_resource_blocks << ->(doc : Resource) {
block.call(resource.doc.not_nil!) if resource.xml?
}
end
# Pass every XML Stylesheet (XSL) that the agent parses to a given
# block.
def every_xsl_doc(&block : XML::Node ->)
@every_resource_blocks << ->(doc : Resource) {
block.call(resource.doc.not_nil!) if resource.xsl?
}
end
# Pass every RSS document that the agent parses to a given block.
def every_rss_doc(&block : XML::Node ->)
@every_resource_blocks << ->(resource : Resource) {
block.call(resource) if resource.rss?
}
end
# Pass every Atom document that the agent parses to a given block.
def every_atom_doc(&block : XML::Node ->)
@every_resource_blocks << ->(resource : Resource) {
block.call(resource) if resource.atom?
}
end
# Pass every JavaScript resource that the agent visits to a given block
def every_javascript(&block : Resource ->)
@every_resource_blocks << ->(resource : Resource) {
block.call(resource) if resource.javascript?
}
end
# Pass every CSS resource that the agent visits to a given block.
def every_css(&block : Resource ->)
@every_resource_blocks << ->(resource : Resource) {
block.call(resource) if resource.css?
}
end
# Pass every RSS feed that the agent visits to a given block.
def every_rss(&block : Resource ->)
@every_resource_blocks << ->(resource : Resource) {
block.call(resource) if resource.rss?
}
end
# Pass every Atom feed that the agent visits to a given block.
def every_atom(&block : Resource ->)
@every_resource_blocks << ->(resource : Resource) {
block.call(resource) if resource.atom?
}
end
# Pass every MS Word resource that the agent visits to a given block.
def every_ms_word(&block : Resource ->)
@every_resource_blocks << ->(resource : Resource) {
block.call(resource) if resource.ms_word?
}
end
# Pass every PDF resource that the agent visits to a given block.
def every_pdf(&block : Resource ->)
@every_resource_blocks << ->(resource : Resource) {
block.call(resource) if resource.pdf?
}
end
# Pass every ZIP resource that the agent visits to a given block.
def every_zip(&block : Resource ->)
@every_resource_blocks << ->(resource : Resource) {
block.call(resource) if resource.zip?
}
end
# Passes every image resource to the given block.
def every_image(&block : Resource ->)
@every_resource_blocks << ->(resource : Resource) {
block.call(resource) if resource.image?
}
end
# Passes every resource with a matching content type to the given block.
def every_content_type(content_type : String | Regex, &block : Resource ->)
@every_resource_blocks << ->(resource : Resource) {
block.call(resource) if resource.is_content_type?(content_type)
}
end
# Passes every origin and destination URI of each link to a given
# block.
def every_link(&block : URI, URI ->)
@every_link_blocks << block
self
end
end
end

View File

@ -0,0 +1,256 @@
require "../rules"
module Arachnid
class Agent
# List of acceptable URL schemes to follow
getter schemes : Array(String) = [] of String
@host_rules = Rules(String).new
@port_rules = Rules(Int32).new
@link_rules = Rules(String).new
@url_rules = Rules(URI).new
@ext_rules = Rules(String).new
# Sets the list of acceptable URL schemes to visit.
def schemes=(new_schemes)
@schemes = new_schemes.map(&.to_s)
end
# Specifies the patterns that match host-names to visit.
def visit_hosts
@host_rules.accept
end
# Adds a given pattern to the `#visit_hosts`.
def visit_hosts_like(pattern)
visit_hosts << pattern
self
end
def visit_hosts_like(&block)
visit_hosts << block
self
end
# Specifies the patterns that match host-names to not visit.
def ignore_hosts
@host_rules.reject
end
# Adds a given pattern to the `#ignore_hosts`.
def ignore_hosts_like(pattern)
ignore_hosts << pattern
self
end
def ignore_hosts_like(&block)
ignore_hosts << block
self
end
# Specifies the patterns that match the ports to visit.
def visit_ports
@port_rules.accept
end
# Adds a given pattern to the `#visit_ports`.
def visit_ports_like(pattern)
visit_ports << pattern
self
end
def visit_ports_like(&block : Int32 -> Bool)
visit_ports << block
self
end
# Specifies the patterns that match ports to not visit.
def ignore_ports
@port_rules.reject
end
# Adds a given pattern to the `#ignore_ports`.
def ignore_ports_like(pattern)
ignore_ports << pattern
self
end
def ignore_ports_like(&block : Int32 -> Bool)
ignore_ports << block
self
end
# Specifies the patterns that match the links to visit.
def visit_links
@link_rules.accept
end
# Adds a given pattern to the `#visit_links`
def visit_links_like(pattern)
visit_links << pattern
self
end
def visit_links_like(&block : String -> Bool)
visit_links << block
self
end
# Specifies the patterns that match links to not visit.
def ignore_links
@link_rules.reject
end
# Adds a given pattern to the `#ignore_links`.
def ignore_links_like(pattern)
ignore_links << pattern
self
end
def ignore_links_like(&block : String -> Bool)
ignore_links << block
self
end
# Specifies the patterns that match the URLs to visit.
def visit_urls
@url_rules.accept
end
# Adds a given pattern to the `#visit_urls`
def visit_urls_like(&block : URI -> Bool)
visit_urls << block
self
end
def visit_urls_like(pattern)
visit_urls << pattern
self
end
# Specifies the patterns that match URLs to not visit.
def ignore_urls
@url_rules.reject
end
# Adds a given pattern to the `#ignore_urls`.
def ignore_urls_like(&block : URI -> Bool)
ignore_urls << block
self
end
def ignore_urls_like(pattern)
ignore_urls << pattern
self
end
# Specifies the patterns that match the URI path extensions to visit.
def visit_exts
@ext_rules.accept
end
# Adds a given pattern to the `#visit_exts`.
def visit_exts_like(&block : String -> Bool)
visit_exts << block
self
end
def visit_exts_like(pattern)
visit_exts << pattern
self
end
# Specifies the patterns that match URI path extensions to not visit.
def ignore_exts
@ext_rules.reject
end
# Adds a given pattern to the `#ignore_exts`.
def ignore_exts_like(&block : String -> Bool)
ignore_exts << block
self
end
def ignore_exts_like(pattern)
ignore_exts << pattern
self
end
# Initializes filtering rules.
protected def initialize_filters(
schemes = nil,
hosts = nil,
ignore_hosts = nil,
ports = nil,
ignore_ports = nil,
links = nil,
ignore_links = nil,
urls = nil,
ignore_urls = nil,
exts = nil,
ignore_exts = nil
)
if schemes
self.schemes = schemes
else
@schemes << "http"
@schemes << "https"
end
@host_rules.accept = hosts
@host_rules.reject = ignore_hosts
@port_rules.accept = ports
@port_rules.reject = ignore_ports
@link_rules.accept = links
@link_rules.reject = ignore_links
@url_rules.accept = urls
@url_rules.reject = ignore_urls
@ext_rules.accept = exts
@ext_rules.reject = ignore_exts
if host
visit_hosts_like(host.to_s)
end
end
# Determines if a given URI scheme should be visited.
protected def visit_scheme?(scheme)
if scheme
@schemes.includes?(scheme)
else
true
end
end
# Determines if a given host-name should be visited.
protected def visit_host?(host)
@host_rules.accept?(host)
end
# Determines if a given port should be visited.
protected def visit_port?(port)
@port_rules.accept?(port)
end
# Determines if a given link should be visited.
protected def visit_link?(link)
@link_rules.accept?(link)
end
# Determines if a given URL should be visited.
protected def visit_url?(link)
@url_rules.accept?(link)
end
# Determines if a given URI path extension should be visited.
protected def visit_ext?(path)
ext = File.extname(path)
@ext_rules.accept?(ext)
end
end
end

View File

@ -0,0 +1,86 @@
require "uri"
require "./actions"
require "benchmark"
module Arachnid
class Agent
class Queue
@queue : Array(URI)
@pool_size : Int32
@exceptions : Array(Exception)
property mutex : Mutex
def self.new(array = nil, pool_size = nil)
array ||= [] of URI
pool_size ||= 10
new(array, pool_size, nil)
end
private def initialize(@queue : Array(URI), @pool_size : Int32, dummy)
@mutex = Mutex.new
@exceptions = [] of Exception
end
def enqueue(item)
@queue << item
end
def clear
@queue.clear
end
def queued?(url)
@queue.includes?(url)
end
private def worker(item : URI, &block : URI ->)
signal_channel = Channel::Unbuffered(Actions::Action).new
spawn do
begin
block.call(item)
rescue ex
signal_channel.send(Actions::SkipLink.new)
else
signal_channel.send(Actions::Action.new)
end
end
signal_channel.receive_select_action
end
def run(&block : URI ->)
pool_counter = 0
worker_channels = [] of Channel::ReceiveAction(Channel::Unbuffered(Actions::Action))
queue = @queue.each
more_pools = true
loop do
break if !more_pools && worker_channels.empty?
while pool_counter < @pool_size && more_pools
item = queue.next
if item.is_a?(Iterator::Stop::INSTANCE)
more_pools = false
break
end
pool_counter += 1
worker_channels << worker(item.as(URI), &block)
end
index, signal_exception = Channel.select(worker_channels)
worker_channels.delete_at(index)
pool_counter -= 1
@exceptions << signal_exception if signal_exception && signal_exception.is_a?(Actions::SkipLink)
end
end
end
end
end

View File

@ -0,0 +1,18 @@
module Arachnid
class Agent
# @robots : Arachnid::Robots? = nil
# Initializes the robots filter.
def initialize_robots
# @robots = Arachnid::Robots.new(@user_agent)
end
# Determines whether a URL is allowed by the robot policy.
# def robot_allowed?(url)
# if robots = @robots
# return robots.allowed?(url)
# end
# true
# end
end
end

View File

@ -0,0 +1,21 @@
module Arachnid
class Agent
# Specifies whether the Agent will strip URI fragments
property? strip_fragments : Bool = true
# Specifies whether the Agent will strip URI queries
property? strip_query : Bool = false
# Sanitizes a URL based on filtering options
def sanitize_url(url)
# normalize the url
url = URI.parse(url) unless url.is_a?(URI)
url.path = "" if url.path == "/"
url.fragment = nil if @strip_fragments
url.query = nil if @strip_query
url
end
end
end

40
src/arachnid/arachnid.cr Normal file
View File

@ -0,0 +1,40 @@
require "./version"
require "./resource"
require "./agent"
module Arachnid
extend self
# Specifies whether robots.txt should be honored globally
class_property? robots : Bool = false
# Should we set the DNT (Do Not Track) header?
class_property? do_not_track : Bool = false
# Maximum amount of redirects to follow
class_property max_redirects : Int32 = 5
# Connect timeout.
class_property connect_timeout : Int32 = 10
# Read timeout.
class_property read_timeout : Int32 = 10
# The User-Agent string used by all Agent objects by default.
class_property user_agent : String = "Arachnid #{Arachnid::VERSION}"
# See `Agent.start_at`
def start_at(url, **options, &block : Agent ->)
Agent.start_at(url, **options, &block)
end
# See `Agent.host`
def host(name, **options, &block : Agent ->)
Agent.host(name, **options, &block)
end
# See `Agent.site`
def site(url, **options, &block : Agent ->)
Agent.site(url, **options, &block)
end
end

View File

@ -0,0 +1,4 @@
module Arachnid
# Represents HTTP Authentication credentials for a website.
record AuthCredential, username : String, password : String
end

View File

@ -0,0 +1,83 @@
require "base64"
require "./extensions/uri"
require "./auth_credential"
require "./resource"
module Arachnid
class AuthStore
@credentials = {} of Tuple(String?, String?, Int32?) => Hash(Array(String), AuthCredential)
# Given a URL, return the most specific matching auth credential.
def [](url)
# normalize the url
url = URI.parse(url) unless url.is_a?(URI)
key = key_for(url)
paths = @credentials[key]?
return nil unless paths
# longest path first
ordered_paths = paths.keys.sort { |path_key| -path_key.size }
# directories of the path
path_dirs = URI.expand_path(url.path).split('/').reject(&.empty?)
ordered_paths.each do |path|
return paths[path] if path_dirs[0, path.size] == path
end
nil
end
# Add an auth credential to the store for the supplied base URL.
def []=(url, auth)
# normalize the url
url = URI.parse(url) unless url.is_a?(URI)
# normalize the url path and split it
paths = URI.expand_path(url.path).split('/').reject(&.empty?)
key = key_for(url)
@credentials[key] ||= {} of Array(String) => AuthCredential
@credentials[key][paths] = auth
auth
end
# Convenience method to add username and password credentials
# for a named URL.
def add(url, username, password)
self[url] = AuthCredential.new(username: username, password: password)
end
# Returns the base64 encoded authorization string for the URL
# or `nil` if no authorization exists.
def for_url(url)
if auth = self[url]
Base64.encode("#{auth.username}#{auth.password}")
end
end
# Clear the contents of the auth store.
def clear!
@credentials.clear!
self
end
# Size of the current auth store (number of URL paths stored)
def size
@credentials.values.reduce(0) { |acc, paths| acc + paths.size }
end
# Inspect the auth store
def inspect
"<#{self.class}: #{@credentials.inspect}>"
end
# Creates a auth key based on the URL
private def key_for(url)
{url.scheme, url.host, url.port}
end
end
end

91
src/arachnid/cli.cr Normal file
View File

@ -0,0 +1,91 @@
require "clim"
require "./version"
require "./cli/**"
module Arachnid
class Cli < Clim
main do
desc "Arachnid CLI - Simple utilities for scanning the web."
usage "arachnid [options] [subcommand] [arguments] ..."
version Arachnid::VERSION
run do |opts, args|
puts opts.help_string # => help string.
end
sub "summarize" do
desc "Scan a site (or sites) and generate a JSON report"
usage <<-USAGE
arachnid summarize [sites] [options]
Examples:
# Scan a site and count the number of pages, outputting the result to STDOUT
arachnid summarize https://crystal-lang.org
# Scan a site and count the number of internal links, outputting the result to STDOUT
arachnid summarize https://crystal-lang.org -l
# Scan a site and count the number of internal and external links, saving the result to a file
arachnid summarize https://crystal-lang.org -l -L -o report.json
# Scan a site and list all pages that returned a 404 or 500 status code
arachnid summarize https://crystal-lang.org -c 404 500
USAGE
option "-l", "--ilinks", type: Bool, desc: "generate a map of pages to internal links"
option "-L", "--elinks", type: Bool, desc: "generate a map of pages to external links"
option "-c CODES", "--codes=CODES", type: Array(Int32), desc: "generate a map of status codes to pages \
that responded with that code"
option "-n", "--limit NUM", type: Int32, desc: "maximum number of pages to scan"
option "-o FILE", "--output=FILE", type: String, desc: "file to write the report to (if undefined \
output will be printed to STDOUT"
run do |opts, args|
if args.empty?
STDERR.puts "At least one site is required"
else
count = Arachnid::Cli::Count.new
count.run(opts, args)
end
end
end
sub "sitemap" do
desc "generate a sitemap for a site in XML or JSON format"
usage <<-USAGE
arachnid sitemap [url] [--xml | --json] [options]
Examples:
# Generate a XML sitemap for crystal-lang.org
arachnid sitemap https://crystal-lang.org --xml
# Generate a XML sitemap with a custom filename
arachnid sitemap https://crystal-lang.org --xml -o ~/Desktop/crystal-lang.org.xml
# Generate a JSON sitemap instead (not really useful as an actual sitemap)
arachnid sitemap https://crystal-lang.org --json
USAGE
option "--xml", type: Bool, desc: "generate the sitemap in XML format"
option "--json", type: Bool, desc: "generate the sitemap in JSON format"
option "-o FILE", "--output=FILE", type: String, desc: "filename to write the report to. \
default is the hostname + .json or .xml"
run do |opts, args|
if args.size != 1
raise "arachnid sitemap requires exactly one site to scan. you provided #{args.size}"
elsif !opts.json && !opts.xml
raise "you must select either xml or json"
else
sitemap = Arachnid::Cli::Sitemap.new
sitemap.run(opts, args)
end
end
end
end
end
end
Arachnid::Cli.start(ARGV)

View File

@ -0,0 +1,9 @@
module Arachnid
class Cli < Clim
abstract class Action
abstract def run(opts, args) : Nil
end
end
end

76
src/arachnid/cli/count.cr Normal file
View File

@ -0,0 +1,76 @@
require "./action"
require "../arachnid"
require "termspinner"
require "json"
module Arachnid
class Cli < Clim
class Count < Cli::Action
def run(opts, urls)
spinner = Spinner::Spinner.new("Wait...")
spider = Arachnid::Agent.new(limit: opts.limit)
urls.each do |url|
spider.visit_urls_like(Regex.new(url))
end
pages = 0
internal_links = Hash(String, Array(String)).new
external_links = Hash(String, Array(String)).new
codes = Hash(Int32, Array(String)).new
spinner.start("Crawling...")
spider.every_resource do |page|
pages += 1
if opts.codes.includes?(page.code)
codes[page.code] ||= [] of String
codes[page.code] << page.url.to_s
end
spinner.message = "Scanning #{page.url.to_s}"
end
spider.every_link do |orig, dest|
if dest.to_s.includes?(orig.to_s) || dest.relative?
internal_links[orig.to_s] ||= [] of String
internal_links[orig.to_s] << dest.to_s
else
external_links[orig.to_s] ||= [] of String
external_links[orig.to_s] << dest.to_s
end
end
spider.start_at(urls[0])
spinner.stop("Finished scanning!\n")
generate_report(
opts.output,
pages,
opts.ilinks ? internal_links : nil,
opts.elinks ? external_links : nil,
opts.codes.empty? ? nil : codes
)
end
def generate_report(outfile, pages, internal_links, external_links, codes)
report = {} of String => Hash(String, Array(String)) | Hash(Int32, Array(String)) | Int32
report["pages"] = pages
report["internal_links"] = internal_links if internal_links
report["external_links"] = external_links if external_links
report["codes"] = codes if codes
if outfile
File.write(outfile.to_s, report.to_json, mode: "w+")
puts "Report saved to #{outfile}"
else
pp report
end
end
end
end
end

View File

@ -0,0 +1,90 @@
require "./action"
require "../arachnid"
require "termspinner"
require "json"
module Arachnid
class Cli < Clim
class Sitemap < Cli::Action
alias LastMod = NamedTuple(year: String, month: String, day: String)
alias PageMap = NamedTuple(url: String, page: String, changefreq: String, priority: String, lastmod: LastMod)
def run(opts, args)
url = URI.parse(args[0])
date = Time.now
spinner = Spinner::Spinner.new("Wait...")
spider = Arachnid::Agent.new
spider.visit_urls_like(Regex.new(url.to_s))
map = {
domain: url.to_s,
lastmod: {
year: date.year.to_s, month: date.month.to_s, day: date.day.to_s
},
filetype: "html",
pages: [] of PageMap
}
spinner.start("Crawling...")
spider.every_html_page do |page|
spinner.message = "Crawling... Current page #{page.url.to_s}"
last_mod = page.headers["Last-Modified"]?
last_mod = last_mod ? Time.parse_utc(last_mod, "%a, %d %b %Y %H:%M:%S GMT") : Time.now
item = {
url: page.url.to_s,
page: page.title.to_s,
changefreq: "never",
priority: "0.5",
lastmod: {
year: last_mod.year.to_s,
month: last_mod.month.to_s.rjust(2, '0'),
day: last_mod.day.to_s.rjust(2, '0')
}
}
map[:pages] << item
end
spider.start_at(url)
spinner.stop("Finished scanning!\n")
if opts.xml
filename = (opts.output ? opts.output.to_s : url.hostname.to_s + ".xml")
sitemap = gen_xml_sitemap(map)
else
filename = (opts.output ? opts.output.to_s : url.hostname.to_s + ".json")
sitemap = gen_json_sitemap(map)
end
File.write(File.expand_path(filename, __DIR__), sitemap.to_s, mode: "w+")
puts "Wrote sitemap to #{filename}"
end
def gen_xml_sitemap(map)
XML.build(indent: " ", encoding: "UTF-8") do |xml|
xml.element("urlset", xmlns: "http://www.sitemaps.org/schemas/sitemap/0.9") do
map[:pages].each do |page|
xml.element("url") do
lastmod = page[:lastmod]
xml.element("loc") { xml.text page[:url] }
xml.element("lastmod") { xml.text "#{lastmod[:year]}-#{lastmod[:month]}-#{lastmod[:day]}" }
xml.element("changefreq") { xml.text page[:changefreq] }
xml.element("priority") { xml.text page[:priority] }
end
end
end
end
end
def gen_json_sitemap(map)
map.to_pretty_json
end
end
end
end

119
src/arachnid/cookie_jar.cr Normal file
View File

@ -0,0 +1,119 @@
module Arachnid
# As hosts are scanned their cookies are stored here.
class CookieJar
include Enumerable(HTTP::Cookies)
@params : Hash(String, HTTP::Cookies)
@cookies : HTTP::Cookies
@dirty : Set(String)
# Creates a new `CookieJar`
def initialize
@params = {} of String => HTTP::Cookies
@cookies = HTTP::Cookies.new
@dirty = Set(String).new
end
# Iterates over the host-name and cookie value pairs in the jar.
def each(&block)
@params.each do |kp|
yield kp
end
end
# Returns all relevant cookies in a single string for the named
# host or domain.
def [](host : String)
@params[host]? || HTTP::Cookies.new
end
# Add a cookie to the jar for a particular domain.
def []=(host : String, cookies : HTTP::Cookies)
@params[host] ||= HTTP::Cookies.new
cookies.each do |cookie|
if @params[host][cookie.name]? != cookie.value
cookies.each do |c|
@params[host] << c
end
@dirty.add(host)
break
end
end
cookies
end
# Retrieve cookies for a domain from the response.
def from_resource(resource)
cookies = resource.cookies
unless cookies.empty?
self[resource.url.host.to_s] = cookies
return true
end
false
end
# Returns the pre-encoded Cookie for a given host.
def for_host(host)
if @dirty.includes?(host)
values = [] of String
cookies_for_host(host).each do |cookie|
values << cookie.to_cookie_header
end
@cookies[host] = values.join("; ")
@dirty.delete(host)
end
@cookies[host]?
end
# Returns raw cookie value pairs for a given host. Includes cookies
# set on parent domains.
def cookies_for_host(host)
host_cookies = @params[host]? || HTTP::Cookies.new
subdomains = host.split('.')
while subdomains.size > 2
subdomains.shift
if parent_cookies = @params[subdomains.join('.')]?
parent_cookies.each do |cookie|
# copy in the parent cookies, only if they haven't been
# overridden yet.
unless host_cookies.has_key?(cookie.name)
host_cookies[cookie.name] = cookie.value
end
end
end
end
host_cookies
end
# Clear out the jar, removing all stored cookies.
def clear!
@params.clear
@cookies.clear
@dirty.clear
self
end
# Size of the cookie jar.
def size
@params.size
end
# Inspects the cookie jar.
def inspect
"#<#{self.class}: #{@params.inspect}>"
end
end
end

View File

@ -0,0 +1,196 @@
require "xml"
module Arachnid
module Document
struct HTML
@content : String
@document : XML::Node
@ids : Hash(String, XML::Node)
@tags : Hash(String, Array(Tag))
@classes : Hash(String, Array(XML::Node))
forward_missing_to @document
def initialize(@content : String)
@document = XML.parse_html(@content)
@ids = {} of String => XML::Node
@tags = {} of String => Array(Tag)
@classes = {} of String => Array(XML::Node)
visit @document
end
def self.parse(content : String)
new(content)
end
# Transform the css query into an xpath query
def self.css_query_to_xpath(query : String) : String
query = "//#{query}"
# Convert '#id_name' as '[@id="id_name"]'
query = query.gsub /\#([A-z0-9]+-*_*)+/ { |m| "*[@id=\"%s\"]" % m.delete('#') }
# Convert '.classname' as '[@class="classname"]'
query = query.gsub /\.([A-z0-9]+-*_*)+/ { |m| "[@class=\"%s\"]" % m.delete('.') }
# Convert ' > ' as '/'
query = query.gsub /\s*>\s*/ { |m| "/" }
# Convert ' ' as '//'
query = query.gsub " ", "//"
# a leading '*' when xpath does not include node name
query = query.gsub /\/\[/ { |m| "/*[" }
return query
end
# Find first tag by tag name and return
# `HTML::Tag` if found or `nil` if not found
def at_tag(tag_name : String) : Tag | Nil
if tags = @tags[tag_name]?
tags.each do |tag|
return tag
end
end
return nil
end
# Find all nodes by tag name and yield
# `HTML::Tag` if found
def where_tag(tag_name : String, &block) : Array(Tag)
arr = [] of Tag
if tags = @tags[tag_name]?
tags.each do |tag|
yield tag
arr << tag
end
end
return arr
end
# Find all nodes by classname and yield
# `HTML::Tag` founded
def where_class(class_name : String, &block) : Array(Tag)
arr = [] of Tag
if klasses = @classes[class_name]?
klasses.each do |node|
klass = Tag.new(node)
yield klass
arr << klass
end
end
return arr
end
# Find a node by its id and return a
# `HTML::Tag` found or `nil` if not found
def at_id(id_name : String) : Tag | Nil
if node = @ids[id_name]?
return Tag.new(node)
end
end
# Find all nodes corresponding to the css query and yield
# `HTML::Tag` found or `nil` if not found
def css(query : String) : Array(Tag)
query = HTML.css_query_to_xpath(query)
return @nodes.xpath_nodes("//#{query}").map { |node|
tag = Tag.new(node)
yield tag
tag
}
end
# Find first node corresponding to the css query and return
# `HTML::Tag` if found or `nil` if not found
def at_css(query : String)
css(query) { |tag| return tag }
return nil
end
private def add_id(id : String, node : XML::Node)
@ids[id] = node
end
private def add_node(node : XML::Node)
if @tags[node.name]? == nil
@tags[node.name] = [] of Tag
end
@tags[node.name] << Tag.new(node)
end
private def add_class(klass : String, node : XML::Node)
if @classes[klass]? == nil
@classes[klass] = [] of XML::Node
end
@classes[klass] << node
end
# Depth-first visit. Given a node, extract metadata from
# node (if exists), then visit each child.
private def visit(node : XML::Node)
# We only extract metadata from HTML nodes
if node.element?
add_node node
if to = node["id"]?
add_id to, node
end
if classes = node["class"]?
classes.split(' ') { |to| add_class to, node }
end
end
# visit each child
node.children.each do |child|
visit child
end
end
# Represents an HTML Tag
struct Tag
getter node : XML::Node
forward_missing_to @node
def initialize(@node : XML::Node)
end
def classname : String | Nil
return @node["class"]? ? @node["class"] : nil
end
def tagname : String
return @node.name
end
def content : String
return @node.text != nil ? @node.text.as(String) : "".as(String)
end
def parent : Tag | Nil
if parent = @node.parent
return Tag.new parent
end
nil
end
def children : Array(Tag)
children = [] of Tag
@node.children.each do |node|
if node.element?
children << Tag.new node
end
end
children
end
def has_class?(klass : String) : Bool
if classes = classname
return classes.includes?(klass)
end
false
end
end
end
end
end

View File

@ -1,4 +1,68 @@
require "uri"
require "string_scanner"
class URI class URI
#
# Expands a URI decoded path, into a proper absolute path.
#
# @param [String] path
# The path from a URI.
#
# @return [String]
# The expanded path.
#
# @example
# URI.expand_path("./path")
# # => "path"
#
# @example
# URI.expand_path("test/../path")
# # => "path"
#
# @example
# URI.expand_path("/test/path/")
# # => "/test/path/"
#
# @example
# URI.expand_path("/test/../path")
# # => "/path"
#
def self.expand_path(path)
if path.starts_with?("/")
leading_slash, path = path[0, 1], path[1..-1]
else
leading_slash = ""
end
if path.ends_with?("/")
trailing_slash, path = path[-1, 1], path[0..-2]
else
trailing_slash = ""
end
scanner = StringScanner.new(path)
stack = [] of String
until scanner.eos?
if (dir = scanner.scan(/[^\/]+/))
case dir
when ".." then stack.pop
when "." then false
else stack.push(dir)
end
else
scanner.skip(/\/+/)
end
break if stack.empty?
end
unless stack.empty?
"#{leading_slash}#{stack.join("/")}#{trailing_slash}"
else
""
end
end
def split_path(path) def split_path(path)
path.split("/") path.split("/")
end end

View File

@ -1,10 +0,0 @@
module Arachnid
module Logger
macro included
{% begin %}
{% tname = @type.name.stringify.split("::").map(&.underscore).join(".") %}
Log = ::Log.for({{ tname }})
{% end %}
end
end
end

View File

@ -1,22 +0,0 @@
module Arachnid
# Abstract base class for URL queues. Within Arachnid itself `Queue` implementations
# strive to be thread safe, and custom implementations should as well.
abstract class Queue
# Add a new URL to the queue.
abstract def enqueue(uri : URI)
# Remove a URL from the queue.
abstract def dequeue : URI
# Check if the queue is empty.
abstract def empty? : Bool
# Check if a URL has been enqueued.
abstract def includes?(uri : URI) : Bool
# Clear the queue, removing all items.
abstract def clear
end
end
require "./queue/*"

View File

@ -1,48 +0,0 @@
module Arachnid
abstract class Queue
# A basic, thread safe, queue implementation that stores all URLs in memory.
class Memory < Queue
@queue : Deque(URI)
@history : Set(String)
@mutex : Mutex
def initialize(queue = Deque(URI).new)
@queue = queue.is_a?(Deque) ? queue : Deque.new(queue.to_a)
@history = Set(String).new
@mutex = Mutex.new
end
def enqueue(uri : URI)
@mutex.synchronize do
@history << "#{uri.host}#{uri.path}"
@queue << uri
end
end
def dequeue : URI
@mutex.synchronize do
@queue.shift
end
end
def empty? : Bool
@mutex.synchronize do
@queue.empty?
end
end
def includes?(uri : URI) : Bool
@mutex.synchronize do
@history.includes?("#{uri.host}#{uri.path}")
end
end
def clear
@mutex.synchronize do
@queue.clear
@history.clear
end
end
end
end
end

View File

@ -1,64 +0,0 @@
module Arachnid
# Class for handling multiple simultanious requests for different hosts. Each host maintains it's own
# dedicated pool of HTTP clients to pick from when needed, so as to keep things thread safe.
class RequestHandler
# The base client class to use for creating new pool items. All clients must extend
# HTTP::Client in order to work. If your client needs special initialization
# parameters, think about wrapping it in a class that doesn't and
# providing initializers as class variables.
property base_client : HTTP::Client.class
# The maximum number of pools items to store per host. This will be the maximum number
# of concurrent connections that any one host can have at a time.
property max_pool_size : Int32
# The initial size of each pool. Keep this number low, so as to avoid using too much memory.
property initial_pool_size : Int32
# The maximum amount of time to wait for a request to finish before raising an `IO::TimeoutError`.
property connection_timeout : Time::Span
# A map of host name to TLS context for that host
property tls_contexts : Hash(String, HTTP::Client::TLSContext)
# A map of host name to connection pool. If `max_hosts` is a non-nil value, this hash will
# be limited in size to that number, with older hosts being deleted to save on
# memory usage.
getter session_pools : Hash(String, ConnectionPool(HTTP::Client))
# Create a new `RequestHandler` instance.
def initialize(@base_client,
@tls_contexts = {} of String => HTTP::Client::TLSContext,
@max_pool_size = 10,
@initial_pool_size = 1,
@connection_timeout = 1.second)
@session_pools = {} of String => ConnectionPool(HTTP::Client)
end
# Make a request using the connection pool for the given URL's host. This could potentially
# throw an `IO::TimeoutError` if a request is made and a new client isn't fetched in time.
def request(method, url : String | URI, headers = nil)
uri = url.is_a?(URI) ? url : URI.parse(url)
pool_for(url).use do |client|
client.exec(method.to_s.upcase, uri.full_path, headers: headers)
end
end
# Retrieve the connection pool for the given `URI`.
def pool_for(uri : URI)
if host = uri.host
session_pools[host] ||= ConnectionPool(HTTP::Client).new(capacity: @max_pool_size, initial: @initial_pool_size, timeout: @connection_timeout.total_seconds) do
@base_client.new(host.to_s, tls: @tls_contexts[host.to_s]? || uri.scheme == "https")
end
else
raise "Invalid URI" # TODO: Real error handling
end
end
# Retrieve a connection pool for the given URL's host.
def pool_for(url : String)
uri = URI.parse(url)
self.pool_for(uri)
end
end
end

View File

@ -1,45 +1,100 @@
require "./resource/*" require "uri"
require "./resource/includes/*" require "halite"
require "./resource/content_types"
require "./resource/cookies"
require "./resource/html"
require "./resource/status_codes"
require "./document/html"
module Arachnid module Arachnid
# Represents a resource requested from a website
class Resource class Resource
include Cookies include Resource::ContentTypes
include StatusCodes include Resource::Cookies
include ContentTypes include Resource::HTML
include Resource::StatusCodes
getter uri : URI # URL of the resource
getter url : URI
getter response : HTTP::Client::Response # HTTP response
getter response : Halite::Response
def initialize(uri, response) # Headers returned with the body
@uri = uri.is_a?(URI) ? uri : URI.parse(uri) getter headers : HTTP::Headers
@doc : (Document::HTML | XML::Node)?
delegate xpath, xpath_node, xpath_nodes, xpath_bool, xpath_float, xpath_string,
root, at_tag, where_tag, where_class, at_id, css, at_css, to: @doc
# forward_missing_to @headers
# Creates a new `Resource` object.
def initialize(url : URI, response : Halite::Response)
@url = url
@response = response @response = response
@headers = response.headers
end end
# Create a resource based on the Content-Type header # The body of the response
# of the resource. def body
def self.from_content_type(uri, response) @response.body || ""
headers = response.headers end
case headers.fetch("Content-Type", nil)
when /html/ # Returns a parsed document for HTML, XML, RSS, and Atom resources.
return Resource::HTML.new(uri, response) def doc
when /xml/ unless body.empty?
return Resource::XML.new(uri, response) doc_class = if html?
when /image/ Document::HTML
return Resource::Image.new(uri, response) elsif rss? || atom? || xml? || xsl?
when /stylesheet|css/ XML
return Resource::Stylesheet.new(uri, response) end
when /javascript/
return Resource::Script.new(uri, response) if doc_class
else begin
Log.debug { "No resource for content type '#{headers["Content-Type"]?}'" } @doc ||= doc_class.parse(body)
return Resource.new(uri, response) rescue
end
end
end end
end end
# Save this resource to a file # Searches the document for XPath or CSS paths
def save(path) def search(path)
File.write(path, @response.body) if document = doc
document.xpath_nodes(path)
else
[] of XML::Node
end
end
# Searches for the first occurrence of an XPath or CSS path
def at(path)
if document = doc
document.xpath_node(path)
end
end
# Alias for `#search`
def /(path)
search(path)
end
# Alias for `#at`
def %(path)
at(path)
end
# Get the size of the body in bytes (useful for binaries)
def size
@response.body.bytesize
end
def to_s
body
end end
end end
end end

View File

@ -1,203 +1,203 @@
require "../extensions/uri"
module Arachnid module Arachnid
class Resource class Resource
# Represents a parsed HTML page # TODO: Create enumerable methods for the methods that take a block
class HTML < Resource module HTML
@parser : Myhtml::Parser # include Enumerable
delegate :body, :body!, :head, :head!, :root, :root!, :html, :html!, :document!,
:nodes, :css, :to_html, :to_pretty_html, :encoding, to: @parser
def initialize(uri, response)
super(uri, response)
@parser = Myhtml::Parser.new(response.body, detect_encoding_from_meta: true)
end
# The title of the HTML resource.
def title def title
titles = css("title") if (node = at("//title"))
if titles.size > 0 node.inner_text
titles.first.inner_text
else
""
end end
end end
# Enumerates over the meta-redirect links in the resource.
def each_meta_redirect(&block : URI ->) def each_meta_redirect(&block : URI ->)
css("meta[http-equiv=\"refresh\"]").each do |tag| if (html? && doc)
if content = tag.attribute_by("content") search("//meta[@http-equiv and @content]").each do |node|
if (redirect = content.match(/url=(\S+)$/)) if node["http-equiv"] =~ /refresh/i
uri = @uri.resolve(redirect[1]) content = node["content"]
yield uri
if (redirect = content.match(/url=(\S+)$/))
yield URI.parse(redirect[1])
end
end end
end end
end end
end end
def meta_redirects # Returns a boolean indicating whether or not resource-level meta
redirects = [] of URI # redirects are present in this resource.
each_meta_redirect { |uri| redirects << uri }
redirects
end
def meta_redirect? def meta_redirect?
!meta_redirects.empty? !meta_redirects.empty?
end end
# The meta-redirect links of the resource.
def meta_redirects
redirects = [] of URI
each_meta_redirect { |r| redirects << r }
redirects
end
# Enumerates over every HTTP or meta-redirect link in the resource.
def each_redirect(&block : URI ->) def each_redirect(&block : URI ->)
redirects.each do |uri| if (locations = @response.headers.get?("Location"))
block.call(uri) # Location headers override any meta-refresh redirects in the HTML
locations.each { |l| URI.parse(l) }
else
# check resource-level meta redirects if there isn't a location header
each_meta_redirect(&block)
end end
end end
def redirects # URLs that this document redirects to.
location = @response.headers.fetch("Location", nil) def redirects_to
locations = [location].compact.map { |l| @uri.resolve(l) } each_redirect.to_a
locations + meta_redirects
end end
def each_mailto(&block : String ->) # Enumerates over every `mailto:` link in the resource.
css("a[href^=\"mailto:\"]").each do |tag| def each_mailto(&block)
if content = tag.attribute_by("href") if (html? && doc)
if match = content.match("mailto:(.*)") doc.xpath_nodes("//a[starts-with(@href,'mailto:')]").each do |a|
yield match[1] yield a["href"][7..-1]
end
end end
end end
end end
# `mailto:` links in the resource.
def mailtos def mailtos
mailtos = [] of String each_mailto.to_a
each_mailto { |uri| mailtos << uri }
mailtos
end end
# Enumerates over every link in the resource.
def each_link(&block : URI ->) def each_link(&block : URI ->)
css("a").each do |tag| each_redirect(&block) if redirect?
if href = tag.attribute_by("href")
unless href.match(/^(javascript|mailto|tel)/) each_image(&block)
uri = @uri.resolve(href)
block.call(uri) if uri.host each_script(&block)
end
each_resource(&block)
if html? && (d = doc)
d.xpath_nodes("//a[@href]").each do |a|
link = to_absolute(a["href"])
yield link if link
end
d.xpath_nodes("//frame[@src]").each do |iframe|
link = to_absolute(iframe["src"])
yield link if link
end
d.xpath_nodes("//iframe[@src]").each do |iframe|
link = to_absolute(iframe["src"])
yield link if link
end end
end end
end end
def links
links = [] of URI
each_link { |uri| links << uri }
links
end
def each_image(&block : URI ->)
css("img").each do |tag|
if src = tag.attribute_by("src")
uri = @uri.resolve(src)
yield uri
end
if srcset = tag.attribute_by("srcset")
parts = srcset.split(",")
parts.each do |set|
url = set.split(/\s+/).first
uri = @uri.resolve(url)
yield uri
end
end
end
end
def images
images = [] of URI
each_image { |uri| images << uri }
images
end
def each_video(&block : URI ->)
css("video, video source").each do |tag|
if src = tag.attribute_by("src")
uri = @uri.resolve(src)
yield uri
end
end
end
def videos
videos = [] of URI
each_video { |uri| videos << uri }
videos
end
def each_script(&block : URI ->) def each_script(&block : URI ->)
css("script").each do |tag| if html? && (d = doc)
if src = tag.attribute_by("src") d.xpath_nodes("//script[@src]").each do |script|
uri = @uri.resolve(src) url = to_absolute(script["src"])
yield uri yield url if url
end end
end end
end end
def scripts
scripts = [] of URI
each_script { |uri| scripts << uri }
scripts
end
def each_resource(&block : URI ->) def each_resource(&block : URI ->)
css("link").each do |tag| if html? && (d = doc)
if href = tag.attribute_by("href") d.xpath_nodes("//link[@href]").each do |link|
uri = @uri.resolve(href) yield URI.parse(link["href"])
yield uri
end end
end end
end end
def resources def each_image(&block : URI ->)
resources = [] of URI if html? && (d = doc)
each_resource { |uri| resources << uri } d.xpath_nodes("//img[@src]").each do |img|
resources url = to_absolute(img["src"])
end yield url if url
end
def each_frame(&block : URI ->) d.xpath_nodes("//img[@srcset]").each do |set|
css("frame").each do |tag| sources = set["srcset"].split(" ").map_with_index { |e, i| (i.zero? || i.even?) ? e : nil }.compact
if src = tag.attribute_by("src") sources.each do |source|
uri = @uri.resolve(src) url = to_absolute(source)
yield uri yield url if url
end
end end
end end
end end
def frames def each_video(&block : URI ->)
frames = [] of URI if html? && (d = doc)
each_frame { |uri| frames << uri } d.xpath_nodes("//video[@src]").each do |video|
frames url = to_absolute(video["src"])
end yield url if url
end
def each_iframe(&block : URI ->) d.xpath_nodes("//video/source[@src]").each do |source|
css("iframe").each do |tag| url = to_absolute(source["src"])
if src = tag.attribute_by("src") yield url if url
uri = @uri.resolve(src)
yield uri
end end
end end
end end
def iframes # The links from within the resource.
iframes = [] of URI def links
each_iframe { |uri| iframes << uri } links = [] of URI
iframes each_link { |link| links << link }
links
end end
# Enumerates over every URL in the resource.
def each_url(&block : URI ->) def each_url(&block : URI ->)
urls.each do |uri| each_link(&block) do |link|
yield uri if (url = to_absolute(link))
yield url
end
end end
end end
def urls # ditto
links + redirects + images + videos + scripts + resources + frames + iframes def each(&block)
each_url { |url| yield url }
end end
def save(path) # Absolute URIs from within the resource.
File.write(path, @parser.to_pretty_html) def urls
urls = [] of URI
each_url { |url| urls << link }
urls
end
# Normalizes and expands a given link into a proper URI.
def to_absolute(link)
link = link.is_a?(URI) ? link : URI.parse(link)
new_url = begin
url.merge(link)
rescue Exception
return
end
if (!new_url.opaque?) && (path = new_url.path)
# ensure that paths begin with a leading '/' for URI::FTP
if (new_url.scheme == "ftp" && !path.starts_with?("/"))
path.insert(0, "/")
end
# make sure the path does not contain any .. or . directories,
# since URI::Generic#merge cannot normalize paths such as
# "/stuff/../"
new_url.path = URI.expand_path(path)
end
return new_url
end end
end end
end end

View File

@ -1,6 +0,0 @@
module Arachnid
class Resource
class Image < Resource
end
end
end

View File

@ -1,6 +0,0 @@
module Arachnid
class Resource
class Script < Resource
end
end
end

View File

@ -1,6 +0,0 @@
module Arachnid
class Resource
class Stylesheet < Resource
end
end
end

View File

@ -1,22 +0,0 @@
require "xml"
module Arachnid
class Resource
class XML < Resource
@document : ::XML::Node
delegate :==, :[], :[]=, :[]?, :attribute?, :attributes, :cdata, :children, :comment?, :content,
:content=, :delete, :document, :document?, :element, :encoding, :errors, :first_element_child,
:fragment?, :hash, :inner_text, :inspect, :name, :name=, :namespace, :namespace_scopes, :next,
:next_element, :next_sibling, :object_id, :parent, :previous, :previous_element, :previous_sibling,
:processing_instruction, :root, :text, :text=, :text, :to_s, :to_unsafe, :to_xml, :type, :unlink,
:version, :xml?, :xpath, :xpath_bool, :xpath_float, :xpath_node, :xpath_nodes, :xpath_string,
to: @document
def initialize(uri, response)
super(uri, response)
@document = ::XML.parse(response.body)
end
end
end
end

50
src/arachnid/rules.cr Normal file
View File

@ -0,0 +1,50 @@
module Arachnid
# The `Rules` class represents collections of acceptance and rejection
# rules, which are used to filter data.
class Rules(T)
# Accept rules
getter accept : Array(Proc(T | Nil, Bool) | T | Regex | String)
# Reject rules
getter reject : Array(Proc(T | Nil, Bool) | T | Regex | String)
# Creates a new `Rules` object.
def initialize(accept : Array(Proc(T | Nil, Bool) | T | Regex | String)? = nil, reject : Array(Proc(T | Nil, Bool) | T | Regex | String)? = nil)
@accept = accept ? accept : [] of Proc(T | Nil, Bool) | T | Regex | String
@reject = reject ? reject : [] of Proc(T | Nil, Bool) | T | Regex | String
end
# Determines whether the data should be accepted or rejected.
def accept?(data : T)
result = true
result = @accept.any? { |rule| test_data(data, rule) } unless @accept.empty?
result = !@reject.any? { |rule| test_data(data, rule) } unless @reject.empty? || result == false
result
end
def accept=(value)
@accept = value || [] of Proc(T | Nil, Bool) | T | Regex | String
end
# Determines whether the data should be rejected or accepted.
def reject?(data : T)
!accept?(data)
end
def reject=(value)
@reject = value || [] of Proc(T | Nil, Bool) | T | Regex | String
end
# Tests the given data against a pattern.
private def test_data(data : T, rule)
case rule
when Proc
rule.call(data) == true
when Regex
!((data.to_s =~ rule).nil?)
else
data == rule
end
end
end
end

View File

@ -0,0 +1,111 @@
require "uri"
require "halite"
module Arachnid
# Stores active HTTP Sessions organized by scheme, host-name and port.
class SessionCache
# Optional read timeout.
property read_timeout : Int32
# Optional connect timeout.
property connect_timeout : Int32
# Max redirects to follow.
property max_redirects : Int32?
# Should we set a DNT (Do Not Track) header?
property? do_not_track : Bool
@sessions = {} of Tuple(String?, String?, Int32?) => Halite::Client
# Create a new session cache
def initialize(
read_timeout : Int32? = nil,
connect_timeout : Int32? = nil,
max_redirects : Int32? = nil,
do_not_track : Bool? = nil
)
@read_timeout = read_timeout || Arachnid.read_timeout
@connect_timeout = connect_timeout || Arachnid.connect_timeout
@max_redirects = max_redirects || Arachnid.max_redirects
@do_not_track = do_not_track || Arachnid.do_not_track?
end
# Determines if there is an active session for the given URL
def active?(url)
# normalize the url
url = URI.parse(url) unless url.is_a?(URI)
# session key
key = key_for(url)
@sessions.has_key?(key)
end
# Provides an active session for a given URL.
def [](url)
# normalize the url
url = URI.parse(url) unless url.is_a?(URI)
# session key
key = key_for(url)
# normalize the endpoint
endpoint = url.dup
endpoint.scheme ||= "http"
endpoint.query = nil
endpoint.fragment = nil
endpoint.path = ""
# Set headers
headers = {
"DNT" => @do_not_track ? 1 : 0
}
unless @sessions.has_key?(key)
session = Halite::Client.new(
endpoint: endpoint,
timeout: Halite::Timeout.new(
connect: @connect_timeout,
read: @read_timeout
),
follow: Halite::Follow.new(
hops: @max_redirects,
strict: false
),
headers: headers,
)
# session = session.logging(skip_request_body: true, skip_response_body: true)
@sessions[key] = session
end
@sessions[key]
end
# Destroys an HTTP session for the given scheme, host, and port.
def kill!(url)
# normalize the url
url = URI.parse(url) unless url.is_a?(URI)
# session key
key = key_for(url)
if sess = @sessions[key]
@sessions.delete(key)
end
end
# Clears the session cache
def clear
@sessions.clear
end
# Creates a session key based on the URL
private def key_for(url)
{url.scheme, url.host, url.port}
end
end
end

View File

@ -1,3 +1,3 @@
module Arachnid module Arachnid
VERSION = "0.3.0" VERSION = "0.1.0"
end end