mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 10:19:03 +03:00
cd29844632
You can now mark String message parameters with the [UTF8] attribute. This will cause the generated decoder to perform UTF-8 validation and reject the message if the given parameter is not a valid UTF-8 string. This frees up the receiving side from having to do this validation at a higher level.
8 lines
186 B
Plaintext
8 lines
186 B
Plaintext
endpoint NotificationServer = 95
|
|
{
|
|
// Basic protocol
|
|
Greet() => (i32 client_id)
|
|
|
|
ShowNotification([UTF8] String text, [UTF8] String title, Gfx::ShareableBitmap icon) => ()
|
|
}
|