Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 820 Bytes

File metadata and controls

30 lines (24 loc) · 820 Bytes

MockServer::HttpResponse

Properties

Name Type Description Notes
delay Delay [optional]
body BodyWithContentType [optional]
cookies KeyToValue [optional]
connection_options ConnectionOptions [optional]
headers KeyToMultiValue [optional]
status_code Integer [optional]
reason_phrase String [optional]

Example

require 'mockserver-client'

instance = MockServer::HttpResponse.new(
  delay: null,
  body: null,
  cookies: null,
  connection_options: null,
  headers: null,
  status_code: null,
  reason_phrase: null
)