object DefaultServletUpgrade : ServletUpgrade

The default servlet upgrade implementation using Servlet API. Please note that some servlet containers may not support it or it may be broken.


Link copied to clipboard
open suspend override fun performUpgrade(upgrade: OutgoingContent.ProtocolUpgrade, servletRequest: HttpServletRequest, servletResponse: HttpServletResponse, engineContext: CoroutineContext, userContext: CoroutineContext)

Perform HTTP upgrade using engine's native API