20 lines
317 B
Rust
20 lines
317 B
Rust
use api_macros::api;
|
|
|
|
pub struct Frame;
|
|
pub struct Body;
|
|
|
|
#[api]
|
|
pub trait InvalidWebSocketBodyApi {
|
|
#[websocket(
|
|
"/events",
|
|
method = GET,
|
|
client_to_server = Frame,
|
|
server_to_client = Frame,
|
|
path_parameters = [],
|
|
body = Body
|
|
)]
|
|
type Events;
|
|
}
|
|
|
|
fn main() {}
|