Thrift v1.3.2 Thrift.Parser.Models.Function

A Thrift function

Functions are remote endpoints for Thrift services. They contain an argument list, exceptions and return a typed object. They can also be oneway, which means that Thrift doesn’t have to wait for a reply from them.

Summary

Types

return()
return() :: :void | Thrift.Parser.Types.t
t()
t() :: %Thrift.Parser.Models.Function{exceptions: [%Thrift.Parser.Models.Exception{fields: term, name: term}], name: String.t, oneway: boolean, params: [%Thrift.Parser.Models.Field{default: term, id: term, name: term, required: term, type: term}], return_type: return}

Functions

new(oneway, return_type, name, params, exceptions)
new(boolean, Thrift.Parser.Types.t, charlist, [%Thrift.Parser.Models.Field{default: term, id: term, name: term, required: term, type: term}, ...], [%Thrift.Parser.Models.Exception{fields: term, name: term}, ...]) :: %Thrift.Parser.Models.Function{exceptions: term, name: term, oneway: term, params: term, return_type: term}