Home Reference Source
import VersionHeader from '@token-io/core/src/http/VersionHeader.js'
public class | source

VersionHeader

Class to add sdk version and type.

Method Summary

Public Methods
public

Adds the sdk type and version to the request config.

Public Methods

public addVersionHeader(config: Object) source

Adds the sdk type and version to the request config.

Params:

NameTypeAttributeDescription
config Object

config of the request