httk.core.datastream.textstream_string¶
Classes¶
Backend for streaming text backed by an actual string |
Module Contents¶
- class httk.core.datastream.textstream_string.TextstreamString(content, **hints)¶
Bases:
httk.core.datastream.textstream_common.TextstreamCommon,httk.core.datastream.textstream_backend.TextstreamBackendBackend for streaming text backed by an actual string
- Parameters:
content (str) – Text to expose as a stream.
**hints (Any) – Backend-selection and compression hints.
- Raises:
ValueError – If the compression hint is not a no-op mode for text-native content.