Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 1.09 KB

HttpRequest.md

File metadata and controls

36 lines (30 loc) · 1.09 KB

MockServer::HttpRequest

Properties

Name Type Description Notes
secure Boolean [optional]
keep_alive Boolean [optional]
method StringOrJsonSchema [optional]
path StringOrJsonSchema [optional]
path_parameters KeyToMultiValue [optional]
query_string_parameters KeyToMultiValue [optional]
body Body [optional]
headers KeyToMultiValue [optional]
cookies KeyToValue [optional]
socket_address SocketAddress [optional]

Example

require 'mockserver-client'

instance = MockServer::HttpRequest.new(
  secure: null,
  keep_alive: null,
  method: null,
  path: null,
  path_parameters: null,
  query_string_parameters: null,
  body: null,
  headers: null,
  cookies: null,
  socket_address: null
)