module WebResponse: sig
.. end
type
t = {
|
index : int ; |
|
protocol : string ; |
|
version : string ; |
|
statusCode : int ; |
|
reasonPhrase : string ; |
|
: Sarif.JsonStringDictionary.t ; |
|
body : Sarif.ArtifactContent.t ; |
|
noResponseReceived : bool ; |
|
properties : Sarif.Properties.t ; |
}
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
include ??
val create : ?index:int ->
?protocol:string ->
?version:string ->
?statusCode:int ->
?reasonPhrase:string ->
?headers:Sarif.JsonStringDictionary.t ->
?body:Sarif.ArtifactContent.t ->
?noResponseReceived:bool ->
?properties:Sarif.Properties.t -> unit -> t
val default : t