Packages

Mocking server that, just like mox, allows parallel testing, but over HTTP.

Current section

Files

Jump to
moxinet lib moxinet response.ex
Raw

lib/moxinet/response.ex

defmodule Moxinet.Response do
@moduledoc """
A struct to define a response to return from the mock server.
"""
@type t :: %__MODULE__{
status: 100..600,
body: binary() | map() | [any()]
}
defstruct status: 200, body: ""
end