Module wmtrace_resource

Webmachine trace file interpretter.

Authors: Bryan Fink (bryan@basho.com).

Description

Webmachine trace file interpretter.

Function Index

add_dispatch_rule/2Add a dispatch rule to point at wmtrace_resource.
content_types_provided/2
init/1
ping/2
produce_css/2
produce_html/2
produce_javascript/2
produce_map/2
remove_dispatch_rules/0Remove all dispatch rules pointing to wmtrace_resource.
resource_exists/2

Function Details

add_dispatch_rule/2

add_dispatch_rule(BasePath::string(), TracePath::string()) -> ok

Add a dispatch rule to point at wmtrace_resource. Example: to serve wmtrace_resource from http://yourhost/dev/wmtrace/ with trace files on disk at priv/traces call: add_dispatch_rule("dev/wmtrace", "priv/traces")

content_types_provided/2

content_types_provided(RD, Ctx) -> any()

init/1

init(Config) -> any()

ping/2

ping(ReqData, State) -> any()

produce_css/2

produce_css(RD, Ctx) -> any()

produce_html/2

produce_html(RD, Ctx) -> any()

produce_javascript/2

produce_javascript(RD, Ctx) -> any()

produce_map/2

produce_map(RD, Ctx) -> any()

remove_dispatch_rules/0

remove_dispatch_rules() -> ok

Remove all dispatch rules pointing to wmtrace_resource.

resource_exists/2

resource_exists(RD, Ctx) -> any()


Generated by EDoc, Feb 8 2011, 19:14:54.