Skip to content

Superagent now supports subclassing #44

@kornelski

Description

@kornelski

FYI, superagent now supports replacing superagent.Request with another class, like this:

https://github.com/visionmedia/superagent/blob/b5af0b49741b68f7b2504036466bf2c7bc2f56a4/test/use.js#L51,L61

so you could use as an alternative way of patching it.

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