mirror of https://github.com/sbt/sbt.git
This commit is contained in:
parent
746405c936
commit
5579727148
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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] = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue