- New methods in CloudEventFormatter to support inference
- JsonEventFormatter infers a content type of application/json for non-binary data
- All transports use the inferred content type when formatting in binary mode
- Documentation for both formatters and bindings has been updated
Signed-off-by: Jon Skeet <jonskeet@google.com>
If this pattern looks okay, the next steps are:
- Implement for all other HTTP bindings
- Adjust the IsCloudEvent for all bindings (to ignore batch)
- Implement for any other bindings that support batch
Signed-off-by: Jon Skeet <jonskeet@google.com>
- Preconditions is renamed to Validation
- Validation is public, allowing simplified validation in
implementation classes
- CloudEvent.ValidateForConversion is now Validation.CheckCloudEventArgument
- All the MimeUtilities methods are non-extension methods (to avoid
Intellisense suggesting them)
- BinaryDataUtilities is now public (it's much less of an issue once
it's in a namespace that other users are somewhat discouraged from
using)
- Documentation explains the purpose of the namespace, albeit briefly
Signed-off-by: Jon Skeet <jonskeet@google.com>