The Funnel project consists of a server and a CLI client that work together to funnel HTTP requests from the server URL to a local URL. The server proxies the requests to the CLI client, which processes the requests and returns the responses back to the server.
Funnel.CliClient
: The CLI client that processes requests from the server.Funnel.Server
: The server that proxies requests to the CLI client.
- .NET 9.0 SDK or later
- Visual Studio or JetBrains Rider
-
Navigate to the
Funnel.Server
directory. -
Run the server using the following command:
dotnet run
-
Navigate to the
Funnel.CliClient
directory. -
Run the client using the following command:
dotnet run -- https://localhost:7092 https://httpbin.org/
The arguments are:
server_url
: The server URL to connect to.local_url
: The local URL to funnel requests to.
The launchSettings.json
file in the Funnel.CliClient
project contains the default command line arguments and environment variables for development.
The Program.cs
file sets up the CLI client, configures the HTTP client, and starts the application.
The Program.cs
file sets up the server, configures the gRPC services, and maps the request handling logic.
This project is licensed under the MIT License. See the LICENSE
file for more details.
Contributions are welcome! Please open an issue or submit a pull request.
For any questions or issues, please open an issue on GitHub.