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

Why there is no Code about service in .pb.swift #794

Closed
Lee-1991 opened this issue Sep 10, 2018 · 1 comment
Closed

Why there is no Code about service in .pb.swift #794

Lee-1991 opened this issue Sep 10, 2018 · 1 comment

Comments

@Lee-1991
Copy link

There are some code about service in my .proto, after "protoc --swift_out=. im.proto" ,there is no code about service that I wanted in .pb.swift
service IM {
// 客户端发送消息
rpc SendMsg (SendMessage) returns (SendResult) {}
// 服务端推送新消息
rpc NewMsg (EmptyRequest) returns (stream NewMessage) {}
}

@thomasvl
Copy link
Collaborator

This has come up before, check out #793, #682 and #118.

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

2 participants