id property of request or response. Since protocol allows id to be int, string, null or missing (for notifications), value is expected to be cast to string for simplicity. Use empty string in case of null value. Omit entirely if this is a notification.
idproperty of request or response. Since protocol allows id to be int, string,nullor missing (for notifications), value is expected to be cast to string for simplicity. Use empty string in case ofnullvalue. Omit entirely if this is a notification.