Skip to content

Content for the "What is an Interceptor?" guide needs to be written #48

Open
@mtnygard

Description

@mtnygard

Topics to cover:

  • Basic structure of :enter, :leave, and :error functions
  • Creating an interceptor from a map
  • Interceptors as values (i.e., def with a map)
  • Interceptors constructed in functions (closing over state)
  • The IntoInterceptor protocol (use a defrecord for an example)
  • Async return from an interceptor
  • Streaming response bodies
  • Distinction between interceptors as a general technique vs. the HTTP handling interceptors in Pedestal

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions