server-session-unary.swift 416 B

1234567
  1. {{ access }} protocol {{ .|session:file,service,method }}: ServerSessionUnary { }
  2. fileprivate final class {{ .|session:file,service,method }}Impl: ServerSessionUnaryImpl<{{ method|input }}, {{ method|output }}>, {{ .|session:file,service,method }} {}
  3. //-{% if generateTestStubs %}
  4. class {{ .|session:file,service,method }}TestStub: ServerSessionUnaryTestStub, {{ .|session:file,service,method }} {}
  5. //-{% endif %}