Skip to content

Allow to configure callback for replay network body handling #7882

Description

@mydea

We may want to add a callback configuration option for replay, that allows users to manually strip stuff from network bodies client side.

An example API could be:

new Replay({
  network: {
    urls: ['https://my-domain.com'],
    requestBodyCallback: (body: unknown) => unknown,
    responseBodyCallback: (body: unknown) => unknown,
  }
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions