SubscriptionFilter.accepts

Whether a notification with this JSON-RPC method (and, for notifications/resources/updated, this resource uri) is one this stream explicitly requested. An inactive filter (a plain GET stream) accepts every notification; an active filter accepts only its opted-in types. Notification methods that are not subscription-gated (progress, logging, elicitation completion, server->client requests, etc.) are always accepted — the draft filter governs only the four list/subscription change types.

struct SubscriptionFilter
const @safe
bool
accepts
(
string method
,
string uri = ""
)