IndieWeb.HttpMock (IndieWeb v0.0.56) View Source

Link to this section Summary

Link to this section Functions

Link to this function

attempt_http_mock_server(context)

View Source
Link to this function

get_mock_http_address(mock_http_server)

View Source
Link to this function

get_mock_route_hit_count(server, route)

View Source
Link to this function

mock_response(type, args \\ [])

View Source

Specs

mock_response(
  :hcard_rel_me
  | :hcard_solo
  | :hentry
  | :hentry_with_embedded_hcard
  | :regular_page,
  keyword()
) :: FakeServer.Response.t()
Link to this function

setup_author_hcard(context)

View Source
Link to this function

setup_http_routes(context)

View Source
Link to this function

start_mock_http_server(_)

View Source
Link to this function

stop_mock_http_server(arg1)

View Source

Specs

stop_mock_http_server(map()) :: :ok