Code Monkey home page Code Monkey logo

poem-proxy's People

Contributors

joeyame avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

btwiuse

poem-proxy's Issues

Set up proxy configuration system

So far the proxy is configured by just passing in a string data source that contains the proxied server address. I want to update this to an actual configuration struct that is passed into the endpoint and contains information about protocol vs secure protocol, and just overall customizing more details about how the proxying is handled.

Non-Advocate Review of Project

To ensure that this proxy follows standard best-practices, it is important to have the code reviewed by someone who isn't tied into this project, and who has experience with proxies.

Templating: Requests

Come up with a simple templating system that can change various elements of the request headers/body based on a special syntax.

For example, we configure the proxy to change "${thing}" to "thung", and if ${thing} is contained in the request, it will be changed to "thung" before it reaches the server.

Templating: Response

Come up with a simple templating system that can change various elements of the request headers/body based on a special syntax.

For example, we configure the proxy to change "${thing}" to "thung", and if ${thing} is contained in the server response, it will be changed to "thung" before it is sent along to the client.

Ensure websocket information is forwarded properly

Right now the proxy just forwards all client messages to the server. Then it does the same for the response to the client. I am not sure if this is all that a proxy requires, or if I need to add special proxy headers or copy another source of information that might be important.

This task is to investigate what proxy requirements there might be.

Ensure request proxying is done correctly

Right now the proxy just copies all client headers and the body and then sends it to the server. Then it does the same for the response to the client. I am not sure if this is all that a proxy requires, or if I need to add special proxy headers or copy another source of information that might be important.

This task is to investigate what proxy requirements there might be.

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.