src/main/java/com/ngrok/services/EventSources.java
public CompletionStage<EventSource> call() {
            return apiClient.sendRequest(
                NgrokApiClient.HttpMethod.POST,
                "/event_subscriptions/" + this.subscriptionId + "/sources",
                Stream.empty(),
                Stream.of(
                    new AbstractMap.SimpleEntry<>("type", Optional.of(this.type))
                ),
                Optional.of(EventSource.class)
            );
        }
/**
         * Initiates the API call asynchronously.
         *
         * @return a {@link CompletionStage} of {@link EventSource}
         */
Initiates the API call asynchronously.
Initiates the API call asynchronously .
public CompletionStage<EventSource> call() {
            return apiClient.sendRequest(
                NgrokApiClient.HttpMethod.POST,
                "/event_subscriptions/" + this.subscriptionId + "/sources",
                Stream.empty(),
                Stream.of(
                    new AbstractMap.SimpleEntry<>("type", Optional.of(this.type))
                ),
                Optional.of(EventSource.class)
            );
        }
public CompletionStage < EventSource > call ( ) { return apiClient . sendRequest ( NgrokApiClient . HttpMethod . POST , "/event_subscriptions/" + this . subscriptionId + "/sources" , Stream . empty ( ) , Stream . of ( new AbstractMap . SimpleEntry < > ( "type" , Optional . of ( this . type ) ) ) , Optional . of ( EventSource . class ) ) ; }
Initiates the API call asynchronously.
Initiates the API call asynchronously .