Flow cookbook added and merged into flow API page.

This commit is contained in:
Joel Dudley
2017-06-22 16:13:54 +01:00
parent 575acd2983
commit e62a54b74d
5 changed files with 1390 additions and 119 deletions

View File

@ -0,0 +1,18 @@
.. highlight:: kotlin
.. raw:: html
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/codesets.js"></script>
Flow cookbook
=============
This flow showcases how to use Corda's API, in both Java and Kotlin.
.. container:: codeset
.. literalinclude:: example-code/src/main/kotlin/net/corda/docs/FlowCookbook.kt
:language: kotlin
.. literalinclude:: example-code/src/main/java/net/corda/docs/FlowCookbookJava.java
:language: java