=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,9 +3,6 @@
|
|||
requestEncodedWith
|
||||
==================
|
||||
|
||||
Passes the request to the inner route if the request is encoded with the argument encoding. Otherwise,
|
||||
rejects the request with an ``UnacceptedRequestEncodingRejection(encoding)``.
|
||||
|
||||
Signature
|
||||
---------
|
||||
|
||||
|
|
@ -15,4 +12,8 @@ Signature
|
|||
Description
|
||||
-----------
|
||||
|
||||
This directive is the building block for ``decodeRequest`` to reject unsupported encodings.
|
||||
Passes the request to the inner route if the request is encoded with the argument encoding. Otherwise, rejects the request with an ``UnacceptedRequestEncodingRejection(encoding)``.
|
||||
|
||||
This directive is the `building block`_ for ``decodeRequest`` to reject unsupported encodings.
|
||||
|
||||
.. _`building block`: @github@/akka-http/src/main/scala/akka/http/scaladsl/server/directives/CodingDirectives.scala
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue