init(message:metadata:trailingMetadata:)

Creates a new accepted response.

ServerResponse.swift:229
init(message: Message, metadata: Metadata = [:], trailingMetadata: Metadata = [:])

Parameters

metadata

Metadata to send to the client at the beginning of the response.

message

The response message to send to the client.

trailingMetadata

Metadata to send to the client at the end of the response.