Create outgoing Request
This use-case is intended to create an actionable LocalRequest based on a given Request for a given peer
.
One can (and should) check if the outgoing Request can be created before creating the LocalRequest with this use-case.
The created LocalRequest needs to be manually submitted to the peer, e.g. by sending a Message.
Parameters
- The
content
as a Request for the to be created LocalRequest - The
peer
is the address for which the LocalRequest should be created. There can only be one peer per LocalRequest.
On Success
- A new LocalRequest for the given parameters is created in status
Draft
and returned, but so far not sent to the given peer.
On Failure
- The request cannot be created if the peer is unknown.
- The request cannot be created if the request content is malformed. Please check if the outgoing request can be created for more details.
Please check if the outgoing request can be created for more details.