Module
pubnov8
Module pubnov8
chalithak/pubnov8
1.0.0
Prints "Hello, World!" with a main function. [//]: # (above is the module summary)
Module Overview
Provides an overview about the module when generating the API documentations. For example, refer to https://lib.ballerina.io/ballerina/io/latest
Clients
pubnov8: Client
Isolated
Constructor
Gets invoked to initialize the connector
.
init (ClientConfig clientConfig, string serviceUrl)
- clientConfig ClientConfig - The configurations to be used when initializing the
connector
- serviceUrl string "https://e21a8174-42c4-403e-b806-c692a05bc2f2-prod.e1-us-east-azure.preview-dv.choreoapis.dev/gwtt/pubnov8/1.0.0" - URL of the target service
getGreeting
Isolated FunctionRemote Function
A resource for generating greetings
Parameters
- name string - the input string name
Records
pubnov8: ClientConfig
Closed record
Provides a set of configurations for controlling the behaviours when communicating with a remote HTTP endpoint.
Fields
- auth OAuth2ClientCredentialsGrantConfig - Configurations related to client authentication
- httpVersion string(default "1.1") - The HTTP version understood by the client
- http1Settings ClientHttp1Settings(default {}) - Configurations related to HTTP/1.x protocol
- http2Settings ClientHttp2Settings(default {}) - Configurations related to HTTP/2 protocol
- timeout decimal(default 60) - The maximum time to wait (in seconds) for a response before closing the connection
- forwarded string(default "disable") - The choice of setting
forwarded
/x-forwarded
header
- followRedirects FollowRedirects?(default ()) - Configurations associated with Redirection
- poolConfig PoolConfiguration?(default ()) - Configurations associated with request pooling
- cache CacheConfig(default {}) - HTTP caching related configurations
- compression Compression(default http:COMPRESSION_AUTO) - Specifies the way of handling compression (
accept-encoding
) header
- circuitBreaker CircuitBreakerConfig?(default ()) - Configurations associated with the behaviour of the Circuit Breaker
- retryConfig RetryConfig?(default ()) - Configurations associated with retrying
- cookieConfig CookieConfig?(default ()) - Configurations associated with cookies
- responseLimits ResponseLimitConfigs(default {}) - Configurations associated with inbound response size limits
- secureSocket ClientSecureSocket?(default ()) - SSL/TLS-related options
pubnov8: OAuth2ClientCredentialsGrantConfig
Closed record
OAuth2 Client Credentials Grant Configs
Fields
- Fields Included from *OAuth2ClientCredentialsGrantConfig
- tokenUrl string
- clientId string
- clientSecret string
- scopes string[]
- defaultTokenExpTime decimal
- clockSkew decimal
- optionalParams map<string>
- credentialBearer CredentialBearer
- clientConfig ClientConfiguration
- tokenUrl string(default "https://sts.preview-dv.choreo.dev:443/oauth2/token") - Token URL
Import
import chalithak/pubnov8;
Metadata
Released date: almost 2 years ago
Version: 1.0.0
Compatibility
Platform: any
Ballerina version: 2201.1.2
GraalVM compatible: Yes
Pull count
Total: 9
Current verison: 9
Weekly downloads
Other versions
1.0.0
Dependencies