tlc.core.url_adapters.http_url_adapter#
An adapter for resolving reads/writes to URLs starting with http:// or https://
Module Contents#
Classes#
Class |
Description |
|---|---|
An adapter for resolving reads/writes to URLs starting with |
API#
- class tlc.core.url_adapters.http_url_adapter.HttpUrlAdapter#
Bases:
tlc.core.url_adapter.UrlAdapterAsyncFromSyncAn adapter for resolving reads/writes to URLs starting with
http://orhttps://- schemes() List[tlc.core.url.Scheme]#
- read_string_content_from_url(url: tlc.core.url.Url) str#
- read_binary_content_from_url(url: tlc.core.url.Url) bytes#
- delete_url(url: tlc.core.url.Url) None#
- abstract make_dirs(url: tlc.core.url.Url, exist_ok: bool = False) None#
- abstract get_file_size(url: tlc.core.url.Url) int#
- abstract list_dir(url: tlc.core.url.Url) Iterator[tlc.core.url_adapter.UrlAdapterDirEntry]#
- abstract exists(url: tlc.core.url.Url) bool#
- abstract is_dir(url: tlc.core.url.Url) bool#
- abstract is_writable(url: tlc.core.url.Url) bool#