Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing arguments for parameters 'webServer', 'urlSession', 'cache' in call #9

Open
kpstar opened this issue Aug 19, 2021 · 2 comments

Comments

@kpstar
Copy link

kpstar commented Aug 19, 2021

Hi, Thanks for your library

But I have faced issues when implementing as your guide.

let server = HLSCachingReverseProxyServer()

I get error like this.

Missing arguments for parameters 'webServer', 'urlSession', 'cache' in call

Please let me know how can I solve this? Thanks

@heimau
Copy link

heimau commented Aug 19, 2021

I have this same issue

@garynewby
Copy link

garynewby commented Aug 21, 2021

webServer = GCDWebServer()
cache = PINCache.shared
urlSession = URLSession.shared
server = HLSCachingReverseProxyServer(webServer: webServer, urlSession: urlSession, cache: cache)
server.start(port: 1234)

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

No branches or pull requests

3 participants