Document HTTP custom method (#20508)

This commit is contained in:
Richard S. Imaoka 2016-07-11 00:00:34 +09:00 committed by Konrad Malawski
parent fb1905870c
commit 15c77e3392
10 changed files with 202 additions and 1 deletions

View file

@ -22,3 +22,13 @@ print what type of request it was - independent of what actual HttpMethod it was
.. includecode2:: ../../../../code/docs/http/scaladsl/server/directives/MethodDirectivesExamplesSpec.scala
:snippet: extractMethod-example
Custom Http Method
------------------
When you define a custom HttpMethod, you can define a route using extractMethod.
.. includecode:: ../../../../code/docs/http/scaladsl/server/directives/CustomHttpMethodSpec.scala
:include: application-custom