Commit Graph

7 Commits

Author SHA1 Message Date
Jon Skeet dd97fde565 Additional documentation for more CloudEventFormatter
Signed-off-by: Jon Skeet <jonskeet@google.com>
2021-05-11 20:41:10 +01:00
Jon Skeet 3ae692c1c3 Fix typos in user guide
Signed-off-by: Jon Skeet <jonskeet@google.com>
2021-05-05 08:42:17 +01:00
Jon Skeet 71003be892 First pass at new documentation for 2.0.0-beta.2 onwards
This is definitely a bare minimum, and we'd want more samples etc -
but it's probably enough to release 2.0.0-beta.2 and build up from
there.

Fixes #98.

Fixes #74.

Fixes #55.

Signed-off-by: Jon Skeet <jonskeet@google.com>
2021-05-05 08:27:25 +01:00
Jon Skeet 603317eceb Implement HTTP batch mode for HttpClient/HttpContent
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>
2021-04-15 06:59:43 +01:00
Jon Skeet 41f639d44b Move implementation utility methods into their own namespace
- 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>
2021-03-29 09:35:17 +01:00
Jon Skeet 1a03dac19e Add guidance for CloudEventFormatter implementers
(And adjust the implementations to match.)

Signed-off-by: Jon Skeet <jonskeet@google.com>
2021-03-19 12:44:21 +00:00
Jon Skeet 83cdc5a1b4 docs: Document expectations for protocol bindings
Signed-off-by: Jon Skeet <jonskeet@google.com>
2021-03-16 11:23:34 +00:00