Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Custom client/sdk name#111

Merged
MaxPresman merged 1 commit intodeveloppubnub/javascript:developfrom
custom_client_namepubnub/javascript:custom_client_nameCopy head branch name to clipboard
Nov 9, 2017
Merged

Custom client/sdk name#111
MaxPresman merged 1 commit intodeveloppubnub/javascript:developfrom
custom_client_namepubnub/javascript:custom_client_nameCopy head branch name to clipboard

Conversation

@parfeon
Copy link
Contributor

@parfeon parfeon commented Nov 9, 2017

Added ability to configure name of SDK which should be sent along with every request as pnsdk query parameter.

New configuration option which can be passed to constructor is: sdkName.

Basic usage

let client = new PubNub({
    subscribeKey: 'mySubKey', 
    publishKey: 'myPublishKey', 
    uuid: 'myUUID', 
    sdkName: 'custom-sdk/1.0.0' 
});

@parfeon parfeon self-assigned this Nov 9, 2017
@parfeon parfeon requested a review from MaxPresman November 9, 2017 14:43
@MaxPresman MaxPresman merged commit eadb15a into develop Nov 9, 2017
@davidnub davidnub deleted the custom_client_name branch July 31, 2019 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.