# How to make use of the connection code in go coder sdk ios

**URL:** <https://community.wowza.com/t/how-to-make-use-of-the-connection-code-in-go-coder-sdk-ios/54530>\
**Category:** Wowza GoCoder SDK\
**Tags:** rest-api\
**Created:** [January 27, 2020, 2:42pm UTC](https://community.wowza.com/t/how-to-make-use-of-the-connection-code-in-go-coder-sdk-ios/54530 "2020-01-27T14:42:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mahitej\_Gangaraju](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@mahitej\_Gangaraju](https://community.wowza.com/u/mahitej_Gangaraju)\
**Post date:** [January 27, 2020, 2:42pm UTC](https://community.wowza.com/t/how-to-make-use-of-the-connection-code-in-go-coder-sdk-ios/54530/1 "2020-01-27T14:42:45Z")

</div>

which method should I call to set the connection code and fetch the stream details in gocoder SDK ios

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [January 29, 2020, 12:49am UTC](https://community.wowza.com/t/how-to-make-use-of-the-connection-code-in-go-coder-sdk-ios/54530/2 "2020-01-29T00:49:48Z")

</div>

The connection code doesn’t work like that in the SDK, so you will have you to use a REST API query to get this.

**Are you asking about doing this with Streaming Engine or Streaming Cloud?**

Use the source connection information from the Streaming Cloud REST API response to configure the source stream. It should look something like this:

```auto
 "source_connection_information":

{ "primary_server": "[subdomain].entrypoint.cloud.wowza.com", "host_port": 1935,
 "application": "app-5437", 
"stream_name": "12e4c04c",
 "disable_authentication": false, 
"username": "client2", 
"password": "[password_value]" 
},

```

[https://www.wowza.com/docs/how-to-connect-to-wowza-streaming-cloud-with-gocoder-sdk-for-ios#wowza-streaming-cloud-rest-api](https://www.wowza.com/docs/how-to-connect-to-wowza-streaming-cloud-with-gocoder-sdk-for-ios#wowza-streaming-cloud-rest-api)
