cloudflare / cloudflare/chrome-devtools-rs
create a framework for sending and receiving different message types
- Dominant language
- Rust
- Stars
- 67
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
let these things be structs and auto-create ids that link their creation to incoming messages
```rust
let enable_profiler = WsMessage::text(
r#"{
"id": 1,
"method": "Profiler.enable"
}"#,
);
let enable_runtime = WsMessage::text(
r#"{
"id": 2,
"method": "Runtime.enable"
}"#,
);
let enable_debugger = WsMessage::text(
r#"{
"id": 3,
"method": "Debugger.enable"
}"#,
);
```
eventually we'll want to publish that crate and use the published version but for now we've linked it to a commit hash
Contributor guide
Assessment
This issue has not been assessed yet.