akka.http.scaladsl.marshalling
Creates a response for a status code.
Creates a response for a status code. Does not support content-type negotiation but will return
a response either with a text-plain
entity containing the status.defaultMessage
or an empty entity
for status codes that don't allow a response.
Creates a response from status code and headers.
Creates a response from status code and headers. Does not support content-type negotiation but will return
a response either with a text-plain
entity containing the status.defaultMessage
or an empty entity
for status codes that don't allow a response.
(Since version 10.0.2) This method exists only for the purpose of binary compatibility, it used to be implicit.