MCPcopy Create free account
hub / github.com/csskit/csskit / method

Method method

crates/csskit_lsp/src/jsonrpc/message.rs:42–48  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

40 }
41
42 pub fn method(&self) -> Option<&str> {
43 match self {
44 Message::Request(Request { method, .. }) => Some(method),
45 Message::Notification(Notification { method, .. }) => Some(method),
46 _ => None,
47 }
48 }
49
50 pub fn id(&self) -> Option<Id> {
51 match self {

Callers 1

handleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected