HTTP

open class HTTP

Convert an HTTP header to a JSONObject and back.

Author

JSON.org

Functions

Link copied to clipboard
open fun toJSONObject(string: String): JSONObject
Convert an HTTP header string into a JSONObject.
Link copied to clipboard
open fun toString(jo: JSONObject): String
Convert a JSONObject into an HTTP header.

Properties

Link copied to clipboard
val CRLF: String = " "
Carriage return/line feed.