Skip to content

Elixir project , to code on fnc program paradigme to make N recursive requests

Notifications You must be signed in to change notification settings

gouttebroze/elixir-http-request

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HttpRequest

A simple "application" to make requests n times for a url this is a study project with elixir and i used it to do a simple stress test on my server/database

Usage

You can execute the Iex and call the module and the function

iex -S mix
iex(1)>HttpRequest.execute(5, 'https://www.google.com')

This will make five request for 'www.google.com'. You can pass a token too:

iex(1)>HttpRequest.execute(5, 'https://www.google.com', 'Bearer 123123123')

And you can check the doc running:

iex(1)> h(HttpRequest.execute)

Made with ❤ in Bahia, Brasil.

About

Elixir project , to code on fnc program paradigme to make N recursive requests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 100.0%