Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 818 Bytes

File metadata and controls

23 lines (19 loc) · 818 Bytes
applies_to authors references breaking new_feature bug_fix
server
rcoh
smithy-rs#4352
smithy-rs#4345
false
true
true

Update smithy-rs servers to support sending initial-response events over event streams.

Prior to this change, event streams that had initial responses were unsupported. This change also adds a new codegen setting, alwaysSendEventStreamInitialResponse.

When this setting is set to true, the generated server will unconditionally send initial-response objects, even when empty. This is required for compatibility with smithy-java as well as a few other clients.

This setting defaults to false currently because smithy-rs based clients do not currently support this behavior.

"codegen": {
  "alwaysSendEventStreamInitialResponse": true // default false
}