Class FetchOptions (0.7.10)

FetchOptions(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Options on how fetches should be made.

Attribute

Name Description
headers MutableMapping[str, str]
Custom headers to pass into fetch request. Headers must have a maximum of 3 key value pairs. Each key value pair must have a maximum of 256 characters per key and 256 characters per value.

Classes

HeadersEntry

HeadersEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.