Giter Site home page Giter Site logo

Comments (13)

CrowdHailer avatar CrowdHailer commented on May 22, 2024 1

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.

CharlesOkwuagwu avatar CharlesOkwuagwu commented on May 22, 2024 1

yes we can close this. The changes we made in 0.2.0 seem adequate for now.

from raxx.

CrowdHailer avatar CrowdHailer commented on May 22, 2024

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.

CharlesOkwuagwu avatar CharlesOkwuagwu commented on May 22, 2024

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.

CrowdHailer avatar CrowdHailer commented on May 22, 2024

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.

CharlesOkwuagwu avatar CharlesOkwuagwu commented on May 22, 2024

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.

CrowdHailer avatar CrowdHailer commented on May 22, 2024

Alright will check that out this evening.

from raxx.

CharlesOkwuagwu avatar CharlesOkwuagwu commented on May 22, 2024

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.

CrowdHailer avatar CrowdHailer commented on May 22, 2024

@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.

CharlesOkwuagwu avatar CharlesOkwuagwu commented on May 22, 2024

I have Elli working with SSL :)

See this gist: https://gist.github.com/CharlesOkwuagwu/1eedf9eb5e3a212b51b658be78e6abf3

from raxx.

CharlesOkwuagwu avatar CharlesOkwuagwu commented on May 22, 2024

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.

CrowdHailer avatar CrowdHailer commented on May 22, 2024

switching cowboy adapter so it can be used under a supervision tree. #31
includes some notes about how it might be done

from raxx.

CrowdHailer avatar CrowdHailer commented on May 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.