mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-26 19:22:30 -05: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.
7 lines
229 B
Text
7 lines
229 B
Text
endpoint ClipboardServer = 802
|
|
{
|
|
Greet() => (i32 client_id)
|
|
|
|
GetClipboardData() => (i32 shbuf_id, i32 data_size, [UTF8] String mime_type)
|
|
SetClipboardData(i32 shbuf_id, i32 data_size, [UTF8] String mime_type) => ()
|
|
}
|