Skip to content

Documentation missing on payload option #15

@nomorebugs

Description

@nomorebugs

I have to send the current token as payload in request body to refresh it.

It took me some time reading the source code to figure out, that a dynamic payload is possible by wrapping a Promise in a function.

This feature should be documented.
Furthermore it appears a bit strange, that neither a simple callback function is used nor an observable directly (as rxjs is used in source) and this promise is converted into an observable later on.

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