Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function to configure HttpConfiguration #107

Open
rossabaker opened this issue Jun 1, 2023 · 2 comments
Open

Function to configure HttpConfiguration #107

rossabaker opened this issue Jun 1, 2023 · 2 comments
Assignees

Comments

@rossabaker
Copy link
Member

We can bring our own HttpConfiguration, but we can't configure the one that's there. JettyBuilder should have something like:

transformJettyHttpConfiguration(f: HttpConfiguration => HttpConfiguration)
@SallyPerez
Copy link

I'm interested!

@rossabaker
Copy link
Member Author

A tricky bit here is that HttpConfiguration is mutable. For this to be useful:

  1. It should be HttpConfiguration => F[HttpConfiguration].
  2. The jettyHttpConfiguration that's stored on the builder then needs to be an F[HttpConfiguration], so you've got something to do with the result of the above.
  3. pures and flatMaps and what not until it compiles again
  4. MiMa exceptions in the build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants