www
WWW
The simplest HTTP client for Crystal (only GET with HTTPS)
Installation
- Add the dependency to your
shard.yml
:
dependencies:
www:
github: c910335/www
- Run
shards install
Usage
require "www"
puts www.example.org # => "<!doctype html>\n<html>\n<head>\n <title>Example Domain</title> ..."
# Or if the url does not start with "www"
www example
puts example.com # => "<!doctype html>\n<html>\n<head>\n <title>Example Domain</title> ..."
Contributing
- Fork it (https://github.com/c910335/www/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Tatsujin Chin - creator and maintainer
Repository
www
Owner
Statistic
- 3
- 0
- 1
- 0
- 2
- over 3 years ago
- May 26, 2021
License
MIT License
Links
Synced at
Thu, 21 Nov 2024 23:57:36 GMT
Languages