vans163
Photon - PeekABoo đź‘» + Web Request/Response/Server Library
I would like to introduce Photon, I have been using it in private for about 6 months and I feel its ready for its first release now. If fixes my current problems of having so many different webserver/webrequest/websocket/etc specs, implementations and libraries.
Photon is not meant for speed of execution, Photon is meant for speed of iteration.
Photon is not an application but instead a library to make it very easy to build/parse HTTP request/response, use websockets, make connections and more.
You need to implement your own server (or client) but an example server is provided. Example is a little chunky but provides nearly full control for everything going on, no magic no problems.
A shipped utility model covers uses like chunk_download_body_to_file, path_sanitization, cors, and more.
PeekABoo
(lmao) allows you to peek at the data on a socket using the sockets module before deciding how to proceed. Its very useful for DDOS mitigation or multiplexing protocols over 1 port.
Let me know if this is useful to you or what you think, thanks.
Popular in Announcing
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance








