elsa-core/src/modules/Elsa.Http/Contracts/IAbsoluteUrlProvider.cs
Sipke Schoorstra 225a99f39d
Bulk Import + Export of Workflow Definitions and Instances (#4643)
* Implement bulk export of workflow definitions

* Update Import endpoint with support for file uploads

* Update Import endpoint to return imported workflow count

* Implement workflow instance (bulk) export

* Implement workflow state, bookmark, workflow + activity execution export

* Remove globally imported usings
2023-11-22 14:31:48 +01:00

14 lines
406 B
C#

namespace Elsa.Http.Contracts;
/// <summary>
/// Provides a way to convert a relative URL to an absolute URL.
/// </summary>
public interface IAbsoluteUrlProvider
{
/// <summary>
/// Converts a relative URL to an absolute URL.
/// </summary>
/// <param name="relativePath">The relative URL.</param>
/// <returns>The absolute URL.</returns>
Uri ToAbsoluteUrl(string relativePath);
}