Skip to content

Is it possible to register a plugin for a path with HttpMultipartResource? #2425

Answered by slaff
vesley asked this question in Q&A
Discussion options

You must be logged in to vote

PR #2427 will make it possible. Once merged into develop you should be able to write:

server.paths.set("/upgrade", new HttpMultipartResource(fileUploadMapper, onUpload), 
                  new ResourceBasicAuth("realm", "username",  "password")
);

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by slaff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants