ARCcore.filter Library Interactive Example
Login
-Home
/
-Documentation
/
-ARCcore
/
-filter
/
Examples
+identifier
+graph
-filter
+discriminator
+types
+util
API
Architecture
Specifications
Examples
ARCcore.filter Interactive Example
A simple interactive simulator used to demonstrate and teach people how to configure and use ARCcore.filter.

This is an interactive demo and simulation of the ARCcore.filter library.

Changing any of the form inputs below will immediately re-evaluate the simulation and update the results (or errors).

Filter Factory

A filter object instance is contructed by calling factory function ARCcore.filter.create.

Operation ID


Operation Name

Operation Description

Input Filter Spec (JSON)


Specify no input filter specification (undefined) and accept any request regardless of type and value.

Body Function


Pass the `request` through to `response.result` without modification. Note that this is filter's default behavior if bodyFunction is not specified.
function bodyFunction(request) {
        return { error: null, result: request };
    }

OutputFilter Spec (JSON)


Specify no output filter spec (undefined) to accept any result regardless of type and value.

Filter Factory Output Response (JSON)

Filter instance constructed! Note that method request is not shown in serialized JSON below.

{
    "error": null,
    "result": null
}

Filter Runtime

Filter Input Request Data (JSON)


Set the filter request to value `undefined`.

Filter Output Response Data (JSON)

Encapsule Project, Seattle WA
Copyright © 2017 Chris Russell
Mon Jun 26 2017 16:34:12 GMT-0400 (EDT)

Encapsule/holism v0.0.26
pre-release
UNDER CONSTRUCTION
please stay tuned...