Comments (13)
Thanks for the gist that is great. If you want to create a whole project in the examples directory called elli_ssh or something that would be cool. That examples directory is a bit of a grab bag at the moment but it can be cleaned up later on
from raxx.
yes we can close this. The changes we made in 0.2.0 seem adequate for now.
from raxx.
Hi,
I have not done this yet. It is on my too do list but I am working on supporting HTTP/2 as well. Still at the stage of proving that the raxx interface can handle all the usecases I need it for. After that the top priority is probably ssl.
I don't know your level but if you fancy tackling this yourself I am very happy to give you any clarification about the code that does exist
from raxx.
Thanks for the quick response.
I'll take a closer look at how you enabled http: and tcp: for cowboy, then compare against Plug's cowboy adapter implementation for https:
If I make any headway, i'll send a PR
from raxx.
Awesome. You are the first person to show up interested 👍
I hope the cowboy adapter is up to date. I have been making most recent changes against the Ace Adapter. If you have any trouble setting up just HTTP with the cowboy adapter let me know because that should be a quick fix.
from raxx.
Nope, no luck setting up the cowboy example with the current version of cowboy: 1.1.2
The Elli setup on the other hand was really easy out of the box
from raxx.
Alright will check that out this evening.
from raxx.
https://github.com/CrowdHailer/raxx/blob/master/raxx_elli/lib/raxx/elli/handler.ex#L36
This can no longer be hardcoded as "http"
I am unable to find out how to pull the scheme off the elli_request
from raxx.
@CharlesOkwuagwu just pushed a patch version of :raxx_cowboy
that uses the latest version of raxx and cowboy. Small tweets to the example and it now appears to be working
https://github.com/CrowdHailer/raxx/blob/master/example/cowboy_example/lib/cowboy_example.ex
Glad the elli adapter was easy. I think that better README's for the adapters are probably the most useful piece of documentation for me to get started on
from raxx.
I have Elli working with SSL :)
See this gist: https://gist.github.com/CharlesOkwuagwu/1eedf9eb5e3a212b51b658be78e6abf3
from raxx.
Also for consistency, can you make the cowboy example Supervised like the elli example.
mix new raxx_cowboy_demo --sup
Unable to modify it to be properly supervised.
from raxx.
switching cowboy adapter so it can be used under a supervision tree. #31
includes some notes about how it might be done
from raxx.
Hi @CharlesOkwuagwu Does the release of raxx_cowboy 0.2.0 Handle your reason for opening this issue? If so I can close it.
I have also opened a new issue for documentation issue for setting up raxx and cowboy #34
from raxx.
Related Issues (20)
- Add middleware proof of concept HOT 10
- Remove handle_request from Raxx.Server behaviour HOT 2
- Should setting a body on a GET request raise an error. HOT 1
- Benchmark different Raxx.Stack state structures and switch to the fastest one HOT 1
- Add a Middleware-aware Router HOT 5
- make `use Raxx.Middleware` a thing HOT 2
- Feature Proposal: Raxx.Context HOT 3
- allow to set multiple cookies HOT 5
- New 1.0 roadmap HOT 11
- Remove eex_html dep? HOT 5
- Handle unexpected HTTP verb HOT 6
- Incorrect parsing of request when path looks like an absolute url HOT 1
- Raxx.Session 1.0 Roadmap
- Raxx.View 1.0 Roadmap
- Raxx.Logger 1.0 Roadmap
- can we have both server streaming and simple request/response in same module?
- Fix specs, to show that Raxx.data can contain iodata
- Gleam HOT 6
- Raxx.View add a way to have page metadata in the layout
- Project status? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from raxx.