Faraday
ruby-ntlm
Faraday | ruby-ntlm | |
---|---|---|
5 | 1 | |
5,659 | 48 | |
0.4% | - | |
8.0 | 10.0 | |
about 1 month ago | about 7 years ago | |
Ruby | Ruby | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Faraday
-
hash keys to method names
The best starting point is the Faraday Website, with its introduction and explanation Need more details? See the Faraday API Documentation to see how it works internally.
- ElixirのHTTPクライアントでお天気情報を取得したい(2022年)
-
NTLM authentication with Ruby and Faraday
Net::HTTP is good. Even so, how to authenticate with popular gem, for instance Faraday? I started to figure out how to implement the protocol with Faraday 🤔
-
Testing external APIs with Rspec and WebMock
I'm too tied to the implementation. If one day I decide to use Faraday or HTTParty as my HTTP clients instead of Net::HTTP, this test will fail.
ruby-ntlm
-
NTLM authentication with Ruby and Faraday
As the NTLM auth algorithm requires to keep the connection alive, we have to use the gem net-http-persistent. Also we have to use the ruby-ntlm gem because coding/encoding logic is tricky.
What are some alternatives?
RESTClient - Simple HTTP and REST client for Ruby, inspired by microframework syntax for specifying actions.
net-http-persistent - Thread-safe persistent connections with Net::HTTP
httparty - :tada: Makes http fun again!
Typhoeus - Typhoeus wraps libcurl in order to make fast and reliable requests.
HTTP - HTTP (The Gem! a.k.a. http.rb) - a fast Ruby HTTP client with a chainable API, streaming support, and timeouts
Http Client - 'httpclient' gives something like the functionality of libwww-perl (LWP) in Ruby.
excon - Usable, fast, simple HTTP 1.1 for Ruby
Savon - Heavy metal SOAP client
Http-2 - Pure Ruby implementation of HTTP/2 protocol
Patron - Ruby HTTP client based on libcurl
Sawyer - Secret User Agent of HTTP
net-http - Net::HTTP provides a rich library which can be used to build HTTP user-agents.