Raxol.Gateway.Adapter.InMemory (RaxolGateway v0.2.0)

Copy Markdown View Source

A reference Raxol.Gateway.Adapter with no external platform.

connect/1 takes a config map carrying a :sink pid; send_message/3 forwards each rendered outbound to that pid as {:gateway_sent, route, rendered}. normalize_event/1 reads a raw map of route fields plus an :event. Useful for driving the full inbound -> session -> outbound path in tests without a real platform.