Package io.ktor.server.plugins.methodoverride
Types
Link copied to clipboard
A configuration for the XHttpMethodOverride plugin.
Properties
Link copied to clipboard
A plugin that enables the capability to tunnel HTTP verbs inside the X-HTTP-Method-Override
header. This might be useful if your server API handles multiple HTTP verbs (GET
, PUT
, POST
, DELETE
, and so on), but the client can only use a limited set of verbs (for example, GET
and POST
) due to specific limitations. For instance, if the client sends a request with the X-Http-Method-Override
header set to DELETE
, Ktor will process this request using the delete
route handler.