Skip to content

Expose Request Factory Methods #48

@i2h3

Description

@i2h3

The implementation internally has factory methods to create URLRequest objects. These should be exposed as public methods to offer them as a convenience feature for use cases in which the downstream project needs to create additional URLRequest objects for requests not in scope of the library. This enables not just the reuse of the (injected) URLSession but also sets up the minimum base configuration of the request objects, depending on their type while also avoiding duplicate state management (in the downstream project and within the library).

Expected New Public Methods

  • makeOCSRequest(for:method:)
  • makeWebDAVRequest(for:method:)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions