Commit 594d462
committed
Add messaging types for webhook operations
- Define LSPS5Request and LSPS5Response enums for webhook registration, listing, and removal.
- Implement WebhookNotification and associated helper constructors for different notification types.
- Implement serialization/deserialization support with comprehensive tests.
- Improve LSPS5 message types, validation, and testing
- Replace generic String types with strongly-typed Lsps5AppName and Lsps5WebhookUrl with built-in length and format validation
- Restructure imports to follow one-per-line convention
- Add constants for notification method strings
- Make WebhookNotificationMethod enum more consistent with LSPS5 prefix
- Use explicit serde_json::json and serde_json::Value instead of imports
- Improve code documentation with proper ticks and references
- Add comprehensive test vectors from the BLIP-0055 specification1 parent f0876e0 commit 594d462
1 file changed
+985
-0
lines changed
0 commit comments