This commit is contained in:
Josh Soref 2019-09-05 14:11:09 -04:00
parent 746405c936
commit 5579727148
2 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ object ErrorCodes {
// format: off
// Defined by the JSON-RPC 2.0 Specification
// http://www.jsonrpc.org/specification#error_object
// https://www.jsonrpc.org/specification#error_object
//
// The error codes from and including -32768 to -32000 are reserved for pre-defined errors.
// Any code within this range, but not defined explicitly below is reserved for future use.

View File

@ -69,13 +69,13 @@ object Serialization {
CompactPrinter(json).getBytes("UTF-8")
}
/** This formats the message according to JSON-RPC. http://www.jsonrpc.org/specification */
/** This formats the message according to JSON-RPC. https://www.jsonrpc.org/specification */
private[sbt] def serializeResponseMessage(message: JsonRpcResponseMessage): Array[Byte] = {
import sbt.internal.protocol.codec.JsonRPCProtocol._
serializeResponse(message)
}
/** This formats the message according to JSON-RPC. http://www.jsonrpc.org/specification */
/** This formats the message according to JSON-RPC. https://www.jsonrpc.org/specification */
private[sbt] def serializeNotificationMessage(
message: JsonRpcNotificationMessage,
): Array[Byte] = {