Skip to content
This repository was archived by the owner on Jan 10, 2025. It is now read-only.

Expose resource handling in API #247

Merged
merged 1 commit into from
Apr 12, 2023
Merged

Expose resource handling in API #247

merged 1 commit into from
Apr 12, 2023

Conversation

swsnr
Copy link
Owner

@swsnr swsnr commented Apr 12, 2023

Create a ResourceUrlHandler trait and require that API users pass an
object of this trait to push_tty.

Remove ResourceAccess; local only resource access is now implemented
by simply creating a resource handler which only reads file: URLs.

@swsnr swsnr force-pushed the resource-client branch from e6efd87 to 38f6cf3 Compare April 12, 2023 17:18
Create a ResourceUrlHandler trait and require that API users pass an
object of this trait to `push_tty`.

Remove `ResourceAccess`; local only resource access is now implemented
by simply creating a resource handler which only reads `file:` URLs.
@swsnr swsnr force-pushed the resource-client branch from 38f6cf3 to e5f53c9 Compare April 12, 2023 18:26
@swsnr swsnr marked this pull request as ready for review April 12, 2023 18:28
@swsnr swsnr enabled auto-merge April 12, 2023 18:28
@swsnr swsnr merged commit e01485e into main Apr 12, 2023
@swsnr swsnr deleted the resource-client branch April 12, 2023 18:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant