=doc #18496 add scala docs for coding directives
This commit is contained in:
parent
92e2ac21f0
commit
073c201e75
7 changed files with 42 additions and 43 deletions
|
|
@ -3,8 +3,6 @@
|
|||
decodeRequestWith
|
||||
=================
|
||||
|
||||
...
|
||||
|
||||
Signature
|
||||
---------
|
||||
|
||||
|
|
@ -14,10 +12,10 @@ Signature
|
|||
Description
|
||||
-----------
|
||||
|
||||
...
|
||||
Decodes the incoming request if it is encoded with one of the given encoders. If the request encoding doesn't match one of the given encoders the request is rejected with an ``UnsupportedRequestEncodingRejection``. If no decoders are given the default encoders (``Gzip``, ``Deflate``, ``NoCoding``) are used.
|
||||
|
||||
Example
|
||||
-------
|
||||
|
||||
.. includecode2:: ../../../../code/docs/http/scaladsl/server/directives/CodingDirectivesExamplesSpec.scala
|
||||
:snippet: 0decodeRequestWith
|
||||
:snippet: decodeRequestWith
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue